@@ -70,6 +70,9 @@ |
||
70 | 70 | $swiftmailer->send($message); |
71 | 71 | } |
72 | 72 | |
73 | + /** |
|
74 | + * @param string $blockName |
|
75 | + */ |
|
73 | 76 | protected function renderTwigBlock(\Twig_Template $template, $blockName, $context = array()) |
74 | 77 | { |
75 | 78 | foreach ($template->getEnvironment()->getGlobals() as $key => $value) { |
@@ -53,6 +53,8 @@ |
||
53 | 53 | |
54 | 54 | /** |
55 | 55 | * Marks a job as finished, successful or not. |
56 | + * @param boolean $success |
|
57 | + * @return void |
|
56 | 58 | */ |
57 | 59 | public function finish($id, $success, $message); |
58 | 60 | } |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | /** |
14 | 14 | * Register an updated model event with the dispatcher. |
15 | 15 | * |
16 | - * @param \Closure|string $callback |
|
16 | + * @param Closure $callback |
|
17 | 17 | * |
18 | 18 | * @return void |
19 | 19 | */ |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | /** |
23 | 23 | * Register a created model event with the dispatcher. |
24 | 24 | * |
25 | - * @param \Closure|string $callback |
|
25 | + * @param Closure $callback |
|
26 | 26 | * |
27 | 27 | * @return void |
28 | 28 | */ |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | /** |
32 | 32 | * Register a deleted model event with the dispatcher. |
33 | 33 | * |
34 | - * @param \Closure|string $callback |
|
34 | + * @param Closure $callback |
|
35 | 35 | * |
36 | 36 | * @return void |
37 | 37 | */ |
@@ -36,13 +36,14 @@ discard block |
||
36 | 36 | * |
37 | 37 | * @param string $key Key of the value to set |
38 | 38 | * @param mixed $value Value to set |
39 | + * @return void |
|
39 | 40 | */ |
40 | 41 | public function set($key, $value); |
41 | 42 | |
42 | 43 | /** |
43 | 44 | * Removes a given value from config. |
44 | 45 | * |
45 | - * @param string $value The key of value to remove. |
|
46 | + * @return void |
|
46 | 47 | */ |
47 | 48 | public function remove($key); |
48 | 49 | |
@@ -55,11 +56,13 @@ discard block |
||
55 | 56 | |
56 | 57 | /** |
57 | 58 | * Replaces all values with given one. |
59 | + * @return void |
|
58 | 60 | */ |
59 | 61 | public function setAll(array $values); |
60 | 62 | |
61 | 63 | /** |
62 | 64 | * Merge values in current config |
65 | + * @return void |
|
63 | 66 | */ |
64 | 67 | public function merge(array $values); |
65 | 68 | } |
@@ -34,6 +34,9 @@ discard block |
||
34 | 34 | $this->offset = $offset; |
35 | 35 | } |
36 | 36 | |
37 | + /** |
|
38 | + * @param integer $page |
|
39 | + */ |
|
37 | 40 | public function setPage($page) |
38 | 41 | { |
39 | 42 | $this->offset = (max(1, (int) $page) - 1) * $this->perPage; |
@@ -61,6 +64,9 @@ discard block |
||
61 | 64 | return $this->offset; |
62 | 65 | } |
63 | 66 | |
67 | + /** |
|
68 | + * @param integer $perPage |
|
69 | + */ |
|
64 | 70 | public function setPerPage($perPage) |
65 | 71 | { |
66 | 72 | $this->perPage = (int) $perPage; |
@@ -171,7 +171,7 @@ |
||
171 | 171 | /** |
172 | 172 | * Get the services provided by the provider. |
173 | 173 | * |
174 | - * @return array |
|
174 | + * @return string[] |
|
175 | 175 | */ |
176 | 176 | public function provides() |
177 | 177 | { |
@@ -63,7 +63,7 @@ |
||
63 | 63 | /** |
64 | 64 | * Return a specific configuration value by key. |
65 | 65 | * |
66 | - * @param $configName |
|
66 | + * @param string $configName |
|
67 | 67 | * @return null|string |
68 | 68 | */ |
69 | 69 | public function getMailConfig($configName) |
@@ -103,6 +103,9 @@ |
||
103 | 103 | return null !== $this->user; |
104 | 104 | } |
105 | 105 | |
106 | + /** |
|
107 | + * @param User $user |
|
108 | + */ |
|
106 | 109 | public function setUser($user) |
107 | 110 | { |
108 | 111 | $this->user = $user; |
@@ -316,7 +316,6 @@ |
||
316 | 316 | /** |
317 | 317 | * Searches a user email by text. |
318 | 318 | * |
319 | - * @param string $email the email to search |
|
320 | 319 | * |
321 | 320 | * @return Email |
322 | 321 | */ |