Passed
Push — master ( a018a6...5a9c7e )
by Nate
02:50
created
src/helpers/LoggingHelper.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/helpers/ElementHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/services/Model.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
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 BaseModel
Please login to merge, or discard this patch.
src/services/ModelByHandle.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.