Passed
Push — master ( 69c8c9...402108 )
by Alexander
02:04
created
tests/Helpers/ArrayHelperTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,10 +17,10 @@
 block discarded – undo
17 17
 {
18 18
     public function testPermuting()
19 19
     {
20
-        $input = ['a', 'b',];
20
+        $input = ['a', 'b', ];
21 21
         $output = ArrayHelper::permute($input);
22 22
         $this->assertCount(2, $output);
23
-        $this->assertEquals(['a', 'b',], $output[0]);
24
-        $this->assertEquals(['b', 'a',], $output[1]);
23
+        $this->assertEquals(['a', 'b', ], $output[0]);
24
+        $this->assertEquals(['b', 'a', ], $output[1]);
25 25
     }
26 26
 }
27 27
\ No newline at end of file
Please login to merge, or discard this patch.
src/Behaviors/LoaderBehavior.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
151 151
         if (is_callable($this->load)) {
152 152
             call_user_func($this->load, $record);
153 153
         } elseif (!empty($this->attribute)) {
154
-            $closure = function (ActiveRecord $value, string $attribute) {
154
+            $closure = function(ActiveRecord $value, string $attribute) {
155 155
                 $this->{$attribute} = $value;
156 156
             };
157 157
             $closure->call($this->owner, $record, $this->attribute);
Please login to merge, or discard this patch.
src/Database/Transaction.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Horat1us\Yii\Database;
4 4
 
5 5
 use Horat1us\Yii\Interfaces\TransactionInterface;
6
-
7 6
 use yii\db\Connection;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.