@@ -33,7 +33,7 @@ |
||
33 | 33 | */ |
34 | 34 | public static function prefixSessionData() |
35 | 35 | { |
36 | - return function ($message) { |
|
36 | + return function($message) { |
|
37 | 37 | $request = Craft::$app->getRequest(); |
38 | 38 | $ip = $request instanceof Request ? $request->getUserIP() : '-'; |
39 | 39 |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | /** |
30 | 30 | * prefixSessionData. |
31 | 31 | * |
32 | - * @return callable |
|
32 | + * @return \Closure |
|
33 | 33 | */ |
34 | 34 | public static function prefixSessionData() |
35 | 35 | { |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | * @param Module $module |
72 | 72 | * @param array $config |
73 | 73 | * |
74 | - * @return array |
|
74 | + * @return callable |
|
75 | 75 | */ |
76 | 76 | public static function getDispatchDefinition(Module $module, array $config = []) |
77 | 77 | { |
@@ -51,7 +51,7 @@ |
||
51 | 51 | |
52 | 52 | /** |
53 | 53 | * @param $config |
54 | - * @param null $instanceOf |
|
54 | + * @param string $instanceOf |
|
55 | 55 | * @param string|null $toScenario |
56 | 56 | * @throws InvalidConfigException |
57 | 57 | * @return ElementInterface |
@@ -60,7 +60,7 @@ |
||
60 | 60 | *******************************************/ |
61 | 61 | |
62 | 62 | /** |
63 | - * @param array $config |
|
63 | + * @param \flipbox\spark\records\RecordWithHandle $config |
|
64 | 64 | * @param string|null $toScenario |
65 | 65 | * @throws InvalidConfigException |
66 | 66 | * @return Model |
@@ -186,7 +186,7 @@ |
||
186 | 186 | * Find an existing cache by handle |
187 | 187 | * |
188 | 188 | * @param string $handle |
189 | - * @return null |
|
189 | + * @return null|ModelWithHandle |
|
190 | 190 | */ |
191 | 191 | public function findCacheByHandle(string $handle) |
192 | 192 | { |