Updated phpdoc. [skip ci]

This commit is contained in:
James Cole
2015-05-05 07:48:34 +02:00
parent f28bc568a4
commit e1941daedd
8 changed files with 6 additions and 11 deletions

View File

@@ -146,7 +146,6 @@ class CurrencyController extends Controller
} }
/** /**
* @SuppressWarnings("CyclomaticComplexity") // It's exactly 5. So I don't mind.
* *
* @param CurrencyFormRequest $request * @param CurrencyFormRequest $request
* @param CurrencyRepositoryInterface $repository * @param CurrencyRepositoryInterface $repository

View File

@@ -274,7 +274,6 @@ class PiggyBankController extends Controller
/** /**
* @param PiggyBank $piggyBank * @param PiggyBank $piggyBank
* *
* @SuppressWarnings("Unused")
* *
* @return \Illuminate\View\View * @return \Illuminate\View\View
*/ */
@@ -342,7 +341,6 @@ class PiggyBankController extends Controller
* @param PiggyBankFormRequest $request * @param PiggyBankFormRequest $request
* @param PiggyBank $piggyBank * @param PiggyBank $piggyBank
* *
* @SuppressWarnings("CyclomaticComplexity") // It's exactly 5. So I don't mind.
* @return $this * @return $this
*/ */
public function update(PiggyBankRepositoryInterface $repository, PiggyBankFormRequest $request, PiggyBank $piggyBank) public function update(PiggyBankRepositoryInterface $repository, PiggyBankFormRequest $request, PiggyBank $piggyBank)

View File

@@ -75,7 +75,6 @@ class ProfileController extends Controller
} }
/** /**
* @SuppressWarnings("CyclomaticComplexity") // It's exactly 5. So I don't mind.
* *
* @param string $old * @param string $old
* @param string $new1 * @param string $new1

View File

@@ -92,7 +92,8 @@ class TransactionController extends Controller
} }
/** /**
* @param TransactionJournal $transactionJournal * @param JournalRepositoryInterface $repository
* @param TransactionJournal $transactionJournal
* *
* @return \Illuminate\Http\RedirectResponse * @return \Illuminate\Http\RedirectResponse
*/ */
@@ -109,7 +110,8 @@ class TransactionController extends Controller
/** /**
* Shows the view to edit a transaction. * Shows the view to edit a transaction.
* *
* @param TransactionJournal $journal * @param AccountRepositoryInterface $repository
* @param TransactionJournal $journal
* *
* @return $this * @return $this
*/ */
@@ -235,7 +237,8 @@ class TransactionController extends Controller
} }
/** /**
* @param TransactionJournal $journal * @param JournalRepositoryInterface $repository
* @param TransactionJournal $journal
* *
* @return $this * @return $this
*/ */

View File

@@ -21,7 +21,6 @@ class PiggyBankRepository implements PiggyBankRepositoryInterface
/** /**
* @SuppressWarnings("CyclomaticComplexity") // It's exactly 5. So I don't mind.
* *
* Based on the piggy bank, the reminder-setting and * Based on the piggy bank, the reminder-setting and
* other variables this method tries to divide the piggy bank into equal parts. Each is * other variables this method tries to divide the piggy bank into equal parts. Each is

View File

@@ -15,7 +15,6 @@ interface PiggyBankRepositoryInterface
{ {
/** /**
* @SuppressWarnings("CyclomaticComplexity") // It's exactly 5. So I don't mind.
* *
* Based on the piggy bank, the reminder-setting and * Based on the piggy bank, the reminder-setting and
* other variables this method tries to divide the piggy bank into equal parts. Each is * other variables this method tries to divide the piggy bank into equal parts. Each is

View File

@@ -237,7 +237,6 @@ class ExpandedForm
} }
/** /**
* @SuppressWarnings("CyclomaticComplexity") // It's exactly 5. So I don't mind.
* *
* Takes any collection and tries to make a sensible select list compatible array of it. * Takes any collection and tries to make a sensible select list compatible array of it.
* *

View File

@@ -84,7 +84,6 @@ class Search implements SearchInterface
} }
/** /**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* *
* @param array $words * @param array $words
* *