@@ -15,7 +15,7 @@ |
||
15 | 15 | } |
16 | 16 | |
17 | 17 | /** |
18 | - * @return array |
|
18 | + * @return Post |
|
19 | 19 | */ |
20 | 20 | public function getTagNames() |
21 | 21 | { |
@@ -45,7 +45,7 @@ |
||
45 | 45 | * Obsluga formularza rejestracji uzytkownika |
46 | 46 | * |
47 | 47 | * @param \Illuminate\Http\Request $request |
48 | - * @return \Illuminate\Http\Response |
|
48 | + * @return \Illuminate\Http\RedirectResponse |
|
49 | 49 | */ |
50 | 50 | public function signup(Request $request) |
51 | 51 | { |
@@ -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 ilosc (oraz dlugosc) linii |
11 | 11 | // @todo musimy pisac "poll.title" jezeli ten formularz jest dzieckiem. reguly powinny byc zmieniane |
12 | 12 | // przez klase Form |
@@ -27,7 +27,7 @@ |
||
27 | 27 | * @param \Coyote\Forum $forum |
28 | 28 | * @param \Coyote\Topic $topic |
29 | 29 | * @param \Coyote\Post|null $post |
30 | - * @return mixed |
|
30 | + * @return \Illuminate\View\View |
|
31 | 31 | */ |
32 | 32 | public function index(Request $request, $forum, $topic = null, $post = null) |
33 | 33 | { |
@@ -185,7 +185,7 @@ |
||
185 | 185 | |
186 | 186 | /** |
187 | 187 | * @param \Closure $callback |
188 | - * @return mixed |
|
188 | + * @return string|null |
|
189 | 189 | */ |
190 | 190 | protected function transaction(\Closure $callback) |
191 | 191 | { |
@@ -99,7 +99,7 @@ |
||
99 | 99 | } |
100 | 100 | |
101 | 101 | /** |
102 | - * @return int |
|
102 | + * @return double |
|
103 | 103 | */ |
104 | 104 | protected function availableIn() |
105 | 105 | { |
@@ -86,7 +86,7 @@ |
||
86 | 86 | private function store($page, $hits) |
87 | 87 | { |
88 | 88 | foreach ($hits as $hit) { |
89 | - list($userId, ) = explode(';', $hit); |
|
89 | + list($userId,) = explode(';', $hit); |
|
90 | 90 | |
91 | 91 | if (is_numeric($userId)) { |
92 | 92 | /** @var \Coyote\Page\Visit $visits */ |
@@ -415,7 +415,7 @@ |
||
415 | 415 | /** |
416 | 416 | * @param mixed $data |
417 | 417 | * @param string $name |
418 | - * @return mixed|null |
|
418 | + * @return string |
|
419 | 419 | */ |
420 | 420 | protected function getDataValue($data, $name) |
421 | 421 | { |
@@ -48,7 +48,7 @@ |
||
48 | 48 | |
49 | 49 | /** |
50 | 50 | * @param mixed $data |
51 | - * @return mixed |
|
51 | + * @return string |
|
52 | 52 | */ |
53 | 53 | protected function setupValue($data) |
54 | 54 | { |