Completed
Push — master ( 1f1ede...8403de )
by Timur
02:52 queued 01:17
created
src/Support/EntitiesBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 
65 65
     public function collection()
66 66
     {
67
-        return array_map(function (array $data) {
67
+        return array_map(function(array $data) {
68 68
             return new $this->class($data, $this->apiProvider, $this->resource);
69 69
         }, $this->data);
70 70
     }
Please login to merge, or discard this patch.
src/Services/Tweets/Tweet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
             return [];
61 61
         }
62 62
 
63
-        return array_map(function (array $item) {
63
+        return array_map(function(array $item) {
64 64
             return $this->makeEntityFrom(TweetMedia::class, $item);
65 65
         }, $media);
66 66
     }
Please login to merge, or discard this patch.
src/Services/Timeline/Comment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
             return [];
67 67
         }
68 68
 
69
-        $entities = array_map(function (array $item) {
69
+        $entities = array_map(function(array $item) {
70 70
             switch ($item['type'] ?? 0) {
71 71
                 case MediaType::IMAGE:
72 72
                     return $this->makeEntityFrom(Image::class, $item);
Please login to merge, or discard this patch.
src/Services/ServiceRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     {
23 23
         $reflection = new \ReflectionClass($this);
24 24
         /** @var \ReflectionProperty[] $properties */
25
-        $properties = array_filter($reflection->getProperties(), function (\ReflectionProperty $property) {
25
+        $properties = array_filter($reflection->getProperties(), function(\ReflectionProperty $property) {
26 26
             return $property->isPublic();
27 27
         });
28 28
 
Please login to merge, or discard this patch.