Various small optimisations [skip ci]

This commit is contained in:
James Cole
2017-01-05 10:06:46 +01:00
parent a872cf7061
commit 4538ef3cf9
6 changed files with 22 additions and 19 deletions

View File

@@ -129,12 +129,11 @@ class Navigation
}
/**
* @param \Carbon\Carbon $theCurrentEnd
* @param string $repeatFreq
* @param \Carbon\Carbon|null $maxDate
*
* @param \Carbon\Carbon $theCurrentEnd
* @param $repeatFreq
* @param \Carbon\Carbon $maxDate
*
* @return \Carbon\Carbon
* @return Carbon
*/
public function endOfX(Carbon $theCurrentEnd, string $repeatFreq, Carbon $maxDate = null): Carbon
{

View File

@@ -85,7 +85,7 @@ class Preferences
/**
* @param \FireflyIII\User $user
* @param string $name
* @param string $default
* @param null|string $default
*
* @return \FireflyIII\Models\Preference|null
*/