@@ -105,7 +105,7 @@ |
||
105 | 105 | /** |
106 | 106 | * Get the loaded fixtures. |
107 | 107 | * |
108 | - * @return array |
|
108 | + * @return \Cake\Datasource\FixtureInterface[] |
|
109 | 109 | */ |
110 | 110 | public function loaded() |
111 | 111 | { |
@@ -123,7 +123,7 @@ |
||
123 | 123 | * Saves a variable or an associative array of variables for use inside a template. |
124 | 124 | * |
125 | 125 | * @param string|array $name A string or an array of data. |
126 | - * @param mixed $value Value in case $name is a string (which then works as the key). |
|
126 | + * @param string $value Value in case $name is a string (which then works as the key). |
|
127 | 127 | * Unused if $name is an associative array, otherwise serves as the values to $name's keys. |
128 | 128 | * @return $this |
129 | 129 | */ |
@@ -179,7 +179,7 @@ |
||
179 | 179 | /** |
180 | 180 | * Get the list of loaded objects. |
181 | 181 | * |
182 | - * @return array List of object names. |
|
182 | + * @return integer[] List of object names. |
|
183 | 183 | */ |
184 | 184 | public function loaded() |
185 | 185 | { |
@@ -289,7 +289,7 @@ |
||
289 | 289 | * aware parser with the specified format. |
290 | 290 | * |
291 | 291 | * @param string $value The value to parse and convert to an object. |
292 | - * @return \Cake\I18n\Time|null |
|
292 | + * @return \Cake\I18n\DateFormatTrait|null |
|
293 | 293 | */ |
294 | 294 | protected function _parseValue($value) |
295 | 295 | { |
@@ -183,7 +183,7 @@ |
||
183 | 183 | /** |
184 | 184 | * Read or write configuration options for the Debugger instance. |
185 | 185 | * |
186 | - * @param string|array|null $key The key to get/set, or a complete array of configs. |
|
186 | + * @param string $key The key to get/set, or a complete array of configs. |
|
187 | 187 | * @param mixed|null $value The value to set. |
188 | 188 | * @param bool $merge Whether to recursively merge or overwrite existing config, defaults to true. |
189 | 189 | * @return mixed Config value being read, or the object itself on write operations. |
@@ -155,7 +155,7 @@ |
||
155 | 155 | /** |
156 | 156 | * Get the connected filters. |
157 | 157 | * |
158 | - * @return array |
|
158 | + * @return EventListenerInterface[] |
|
159 | 159 | */ |
160 | 160 | public function getFilters() |
161 | 161 | { |
@@ -744,7 +744,7 @@ |
||
744 | 744 | * Helper function used to return the keys from the query records that will be used |
745 | 745 | * to eagerly load associations. |
746 | 746 | * |
747 | - * @param array $external the list of external associations to be loaded |
|
747 | + * @param EagerLoadable[] $external the list of external associations to be loaded |
|
748 | 748 | * @param \Cake\ORM\Query $query The query from which the results where generated |
749 | 749 | * @param \Cake\Database\Statement\BufferedStatement $statement The statement to work on |
750 | 750 | * @return array |
@@ -51,7 +51,7 @@ |
||
51 | 51 | * |
52 | 52 | * @param \Cake\Http\ServerRequest $request Request object to dispatch. |
53 | 53 | * @param \Cake\Http\Response $response Response object to put the results of the dispatch into. |
54 | - * @return string|null if `$request['return']` is set then it returns response body, null otherwise |
|
54 | + * @return null|callable if `$request['return']` is set then it returns response body, null otherwise |
|
55 | 55 | * @throws \LogicException When the controller did not get created in the Dispatcher.beforeDispatch event. |
56 | 56 | */ |
57 | 57 | public function dispatch(ServerRequest $request, Response $response) |
@@ -100,7 +100,7 @@ |
||
100 | 100 | /** |
101 | 101 | * Create a PSR7 request from the request spec. |
102 | 102 | * |
103 | - * @param array $spec The request spec. |
|
103 | + * @param \Cake\Http\ServerRequest $spec The request spec. |
|
104 | 104 | * @return \Psr\Http\Message\RequestInterface |
105 | 105 | */ |
106 | 106 | protected function _createRequest($spec) |