Passed
Push — master ( bbe808...4a0efd )
by Radosław
02:19
created
src/SearchResult/Item.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 
21 21
     protected function fromArray(array $data)
22 22
     {
23
-        foreach($data as $key => $value) {
23
+        foreach ($data as $key => $value) {
24 24
             if (!property_exists($this, $key)) {
25 25
                 throw new InvalidArgumentException("Invalid search result item property: {$key}");
26 26
             }
Please login to merge, or discard this patch.
tests/SearchResult/ItemTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     {
34 34
         $url = 'http://example.com';
35 35
         $item = new Item(['url' => $url]);
36
-        $this->assertSame($url, (string)$item);
36
+        $this->assertSame($url, (string) $item);
37 37
     }
38 38
 
39 39
     /**
Please login to merge, or discard this patch.