@@ -109,7 +109,7 @@ |
||
| 109 | 109 | |
| 110 | 110 | /** |
| 111 | 111 | * @param string $line |
| 112 | - * @return bool |
|
| 112 | + * @return integer |
|
| 113 | 113 | */ |
| 114 | 114 | protected function isBeginningOfMessage($line, &$header = null) |
| 115 | 115 | { |
@@ -6,7 +6,7 @@ |
||
| 6 | 6 | |
| 7 | 7 | class PollForm extends Form |
| 8 | 8 | { |
| 9 | - const RULE_TITLE = 'string|max:100'; |
|
| 9 | + const RULE_TITLE = 'string|max:100'; |
|
| 10 | 10 | // @todo dodac walidator sprawdzajacy liczbe (oraz dlugosc) linii |
| 11 | 11 | // @todo musimy pisac "poll.title" jezeli ten formularz jest dzieckiem. reguly powinny byc zmieniane |
| 12 | 12 | // przez klase Form |
@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | } |
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | - * @return array |
|
| 21 | + * @return Twig_SimpleFunction[] |
|
| 22 | 22 | */ |
| 23 | 23 | public function getFunctions() |
| 24 | 24 | { |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | /** |
| 59 | - * @return array |
|
| 59 | + * @return Twig_SimpleFilter[] |
|
| 60 | 60 | */ |
| 61 | 61 | public function getFilters() |
| 62 | 62 | { |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | /** |
| 10 | 10 | * Save models and remove old ones. |
| 11 | 11 | * |
| 12 | - * @param \Traversable|array $models |
|
| 12 | + * @param \Coyote\Firm\Benefit[] $models |
|
| 13 | 13 | * @return \Traversable|array |
| 14 | 14 | */ |
| 15 | 15 | public function push($models) |
@@ -279,7 +279,7 @@ discard block |
||
| 279 | 279 | |
| 280 | 280 | /** |
| 281 | 281 | * @param string|null $time |
| 282 | - * @return null|int |
|
| 282 | + * @return null|double |
|
| 283 | 283 | */ |
| 284 | 284 | private function timeToSeconds($time) |
| 285 | 285 | { |
@@ -315,7 +315,7 @@ discard block |
||
| 315 | 315 | * |
| 316 | 316 | * @example http://4programmers.net/Foo/Bar => /Foo/Bar |
| 317 | 317 | * @param string $url |
| 318 | - * @return string|bool |
|
| 318 | + * @return string|false |
|
| 319 | 319 | */ |
| 320 | 320 | private function getPathFromInternalUrl($url) |
| 321 | 321 | { |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | use Coyote\Http\Factories\MediaFactory; |
| 7 | 7 | use Coyote\Repositories\Contracts\SessionRepositoryInterface as SessionRepository; |
| 8 | 8 | use Coyote\Repositories\Contracts\UserRepositoryInterface as UserRepository; |
| 9 | -use Coyote\Services\Session\Registered; |
|
| 10 | 9 | use Illuminate\Http\Request; |
| 11 | 10 | use Jenssegers\Agent\Agent; |
| 12 | 11 | |
@@ -133,7 +133,7 @@ |
||
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | /** |
| 136 | - * @param Session[] $collection |
|
| 136 | + * @param Collection $collection |
|
| 137 | 137 | * @return Collection |
| 138 | 138 | */ |
| 139 | 139 | private function unique(Collection $collection) |
@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | /** |
| 19 | 19 | * Index data in elasticsearch |
| 20 | 20 | * |
| 21 | - * @return mixed |
|
| 21 | + * @return callable |
|
| 22 | 22 | * @throws \Exception |
| 23 | 23 | */ |
| 24 | 24 | public function putToIndex() |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | * |
| 41 | 41 | * @throws Missing404Exception, |
| 42 | 42 | * @throws \Exception |
| 43 | - * @return mixed |
|
| 43 | + * @return callable |
|
| 44 | 44 | */ |
| 45 | 45 | public function deleteFromIndex() |
| 46 | 46 | { |
@@ -76,6 +76,7 @@ |
||
| 76 | 76 | |
| 77 | 77 | /** |
| 78 | 78 | * @inheritdoc |
| 79 | + * @param string $view |
|
| 79 | 80 | */ |
| 80 | 81 | protected function view($view = null, $data = []) |
| 81 | 82 | { |