@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | * |
172 | 172 | * @param int|string|\DateTime $dateString UNIX timestamp, strtotime() valid string or DateTime object |
173 | 173 | * @param string|\DateTimeZone|null $timezone User's timezone string or DateTimeZone object |
174 | - * @return int Unix timestamp |
|
174 | + * @return string Unix timestamp |
|
175 | 175 | * @see \Cake\I18n\Time::toUnix() |
176 | 176 | */ |
177 | 177 | public function toUnix($dateString, $timezone = null) |
@@ -288,7 +288,7 @@ discard block |
||
288 | 288 | * Returns gmt as a UNIX timestamp. |
289 | 289 | * |
290 | 290 | * @param int|string|\DateTime|null $string UNIX timestamp, strtotime() valid string or DateTime object |
291 | - * @return int UNIX timestamp |
|
291 | + * @return string UNIX timestamp |
|
292 | 292 | * @see \Cake\I18n\Time::gmt() |
293 | 293 | */ |
294 | 294 | public function gmt($string = null) |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use Cake\Cache\Cache; |
15 | 15 | use Cake\Core\Configure; |
16 | 16 | use Cake\Datasource\ConnectionManager; |
17 | -use Cake\I18n\I18n; |
|
18 | 17 | use Cake\Log\Log; |
19 | 18 | |
20 | 19 | require_once 'vendor/autoload.php'; |
@@ -15,7 +15,6 @@ |
||
15 | 15 | |
16 | 16 | use Cake\Cache\CacheEngine; |
17 | 17 | use Cake\Cache\CacheRegistry; |
18 | -use Cake\Core\App; |
|
19 | 18 | use DebugKit\DebugTimer; |
20 | 19 | |
21 | 20 | /** |
@@ -30,7 +30,7 @@ |
||
30 | 30 | * |
31 | 31 | * If the tables do not exist, they will be created on the current model's connection. |
32 | 32 | * |
33 | - * @param array $fixtures The fixture names to check and/or insert. |
|
33 | + * @param string[] $fixtures The fixture names to check and/or insert. |
|
34 | 34 | * @return void |
35 | 35 | * @throws \RuntimeException When fixtures are missing/unknown/fail. |
36 | 36 | */ |
@@ -56,7 +56,7 @@ |
||
56 | 56 | /** |
57 | 57 | * Finder method to get recent requests as a simple array |
58 | 58 | * |
59 | - * @param Cake\ORM\Query $query The query |
|
59 | + * @param Query $query The query |
|
60 | 60 | * @param array $options The options |
61 | 61 | * @return Query The query. |
62 | 62 | */ |
@@ -14,7 +14,6 @@ |
||
14 | 14 | namespace DebugKit\Panel; |
15 | 15 | |
16 | 16 | use Cake\Cache\Cache; |
17 | -use Cake\Event\Event; |
|
18 | 17 | use DebugKit\Cache\Engine\DebugEngine; |
19 | 18 | use DebugKit\DebugPanel; |
20 | 19 |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | * Check if a path is part of cake core |
100 | 100 | * |
101 | 101 | * @param string $file File to check |
102 | - * @return bool |
|
102 | + * @return string |
|
103 | 103 | */ |
104 | 104 | protected function _isCoreFile($file) |
105 | 105 | { |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | * Check if a path is from APP but not a plugin |
111 | 111 | * |
112 | 112 | * @param string $file File to check |
113 | - * @return bool |
|
113 | + * @return string |
|
114 | 114 | */ |
115 | 115 | protected function _isAppFile($file) |
116 | 116 | { |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | * Check if a path is from a plugin |
122 | 122 | * |
123 | 123 | * @param string $file File to check |
124 | - * @return bool |
|
124 | + * @return string |
|
125 | 125 | */ |
126 | 126 | protected function _isPluginFile($file) |
127 | 127 | { |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | * - app for app files |
142 | 142 | * - core for core files |
143 | 143 | * - PluginName for the name of a plugin |
144 | - * @return bool |
|
144 | + * @return string |
|
145 | 145 | */ |
146 | 146 | protected function _niceFileName($file, $type) |
147 | 147 | { |
@@ -12,9 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | namespace DebugKit\Panel; |
14 | 14 | |
15 | -use Cake\Controller\Controller; |
|
16 | 15 | use Cake\Datasource\ConnectionManager; |
17 | -use Cake\Event\Event; |
|
18 | 16 | use Cake\ORM\TableRegistry; |
19 | 17 | use DebugKit\Database\Log\DebugLog; |
20 | 18 | use DebugKit\DebugPanel; |
@@ -12,7 +12,6 @@ |
||
12 | 12 | */ |
13 | 13 | namespace DebugKit\Panel; |
14 | 14 | |
15 | -use Cake\Controller\Controller; |
|
16 | 15 | use Cake\Database\Query; |
17 | 16 | use Cake\Datasource\EntityInterface; |
18 | 17 | use Cake\Event\Event; |