Completed
Branch master (a47a63)
by Nikola
02:54
created
src/Metadata/BaseIdentifyingMetadata.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         $identifiers = [];
52 52
 
53 53
         foreach ($identifiersArray as $id) {
54
-            $identifiers[]= self::createIdentifier($id);
54
+            $identifiers[] = self::createIdentifier($id);
55 55
         }
56 56
 
57 57
         return new static($identifiers);
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
             $ids = explode('.', $identifiersString);
66 66
 
67 67
             foreach ($ids as $id) {
68
-                $identifiers[]= self::createIdentifier($id);
68
+                $identifiers[] = self::createIdentifier($id);
69 69
             }
70 70
 
71 71
             return new static($identifiers);
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
      */
122 122
     public function toArray()
123 123
     {
124
-        return array_map(function ($identifier) {
124
+        return array_map(function($identifier) {
125 125
             return $identifier->getValue();
126 126
         }, $this->identifiers);
127 127
     }
Please login to merge, or discard this patch.
src/VersionsCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
             $direction = (true === $direction) ? self::SORT_DESC : self::SORT_ASC;
85 85
         }
86 86
 
87
-        usort($this->versions, function (Version $a, Version $b) use ($direction) {
87
+        usort($this->versions, function(Version $a, Version $b) use ($direction) {
88 88
             $result = $a->compareTo($b);
89 89
 
90 90
             if ($direction == self::SORT_DESC) {
Please login to merge, or discard this patch.