Completed
Push — master ( 25859b...314ac7 )
by Dmitry
03:40
created
src/Collection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -425,7 +425,7 @@
 block discarded – undo
425 425
      */
426 426
     public function collectData($attributes = null, $options = [])
427 427
     {
428
-        $data       = [];
428
+        $data = [];
429 429
         foreach ($this->models as $model) {
430 430
             /* @var $model ActiveRecord */
431 431
             $key = $model->getPrimaryKey();
Please login to merge, or discard this patch.
src/DebugPanel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
             if (!empty($traces)) {
101 101
                 $traceString .= Html::ul($traces, [
102 102
                     'class' => 'trace',
103
-                    'item' => function ($trace) {
103
+                    'item' => function($trace) {
104 104
                         return "<li>{$trace['file']}({$trace['line']})</li>";
105 105
                     },
106 106
                 ]);
Please login to merge, or discard this patch.
tests/unit/ConnectionTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
             'config'  => [
48 48
                 'base_uri' => $this->site,
49 49
             ],
50
-            'errorChecker' => function ($res) {
50
+            'errorChecker' => function($res) {
51 51
                 return null;
52 52
             },
53 53
         ]);
@@ -61,15 +61,15 @@  discard block
 block discarded – undo
61 61
     {
62 62
         $result = $this->object->get($this->url, [], $this->body, false);
63 63
         $this->assertSame($this->result, $result);
64
-        $this->assertSame('request',   $this->mock->name);
65
-        $this->assertSame('GET',       $this->mock->args[0]);
66
-        $this->assertSame($this->url,  $this->mock->args[1]);
64
+        $this->assertSame('request', $this->mock->name);
65
+        $this->assertSame('GET', $this->mock->args[0]);
66
+        $this->assertSame($this->url, $this->mock->args[1]);
67 67
         $this->assertSame($this->body, $this->mock->args[2]['form_params']);
68 68
     }
69 69
 
70 70
     public function testErrorChecker()
71 71
     {
72
-        $this->object->setErrorChecker(function ($res) { return $res; });
72
+        $this->object->setErrorChecker(function($res) { return $res; });
73 73
         $this->setExpectedException('hiqdev\hiart\ErrorResponseException', $this->result);
74 74
         $this->object->get($this->url, [], $this->body, false);
75 75
     }
Please login to merge, or discard this patch.