Passed
Push — master ( 34baf0...36ec95 )
by Nate
03:19
created
src/helpers/LoggingHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      */
31 31
     public static function prefixSessionData()
32 32
     {
33
-        return function () {
33
+        return function() {
34 34
             $request = Craft::$app->getRequest();
35 35
             $ip = $request instanceof Request ? $request->getUserIP() : '-';
36 36
 
Please login to merge, or discard this patch.
src/services/ModelByHandle.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,11 +43,11 @@
 block discarded – undo
43 43
     public function find($identifier, string $toScenario = null)
44 44
     {
45 45
 
46
-        if($model = parent::find($identifier, $toScenario)) {
46
+        if ($model = parent::find($identifier, $toScenario)) {
47 47
             return $model;
48 48
         }
49 49
 
50
-        if(!is_string($identifier)) {
50
+        if (!is_string($identifier)) {
51 51
             return null;
52 52
         }
53 53
 
Please login to merge, or discard this patch.