Passed
Push — master ( 8ea373...c0c810 )
by David
06:49
created
Subscriber/Dispatch.php 1 patch
Spacing   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,14 +56,13 @@  discard block
 block discarded – undo
56 56
         $sessionID = $this->session->get('sessionId');
57 57
 
58 58
         $isSessionRecorded = strtolower($request->getControllerName()) !== 'snapshots' ?
59
-            $this->session->get('isSessionRecorded') :
60
-            false;
59
+            $this->session->get('isSessionRecorded') : false;
61 60
 
62 61
         $snapshotSessionID = $view->getAssign('snapshotSessionID');
63 62
 
64 63
         $view->assign(
65 64
             [
66
-                'snapshotSessionID' => $snapshotSessionID ? : $sessionID,
65
+                'snapshotSessionID' => $snapshotSessionID ?: $sessionID,
67 66
                 'isSessionRecorded' => $isSessionRecorded,
68 67
             ]
69 68
         );
@@ -81,7 +80,7 @@  discard block
 block discarded – undo
81 80
 
82 81
         $variables = $view->getAssign();
83 82
 
84
-        array_walk_recursive($variables, function (&$value) {
83
+        array_walk_recursive($variables, function(&$value) {
85 84
             if (is_object($value)) {
86 85
                 try {
87 86
                     // workaround for PDOException when trying to serialize PDO instances
Please login to merge, or discard this patch.