Completed
Pull Request — master (#68)
by Jacob
04:12 queued 01:12
created
src/Metadata/MetadataFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -264,7 +264,7 @@
 block discarded – undo
264 264
      * @param   EntityMetadata  &$metadata
265 265
      * @param   EntityMetadata  $toAdd
266 266
      */
267
-    private function mergeMetadata(EntityMetadata &$metadata = null, EntityMetadata $toAdd)
267
+    private function mergeMetadata(EntityMetadata & $metadata = null, EntityMetadata $toAdd)
268 268
     {
269 269
         if (null === $metadata) {
270 270
             $metadata = clone $toAdd;
Please login to merge, or discard this patch.
src/Metadata/Driver/YamlFileDriver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -236,8 +236,8 @@
 block discarded – undo
236 236
             if (isset($mapping['calculated']) && is_array($mapping['calculated'])) {
237 237
                 $calculated = $mapping['calculated'];
238 238
                 if (isset($calculated['class']) && isset($calculated['method'])) {
239
-                    $attribute->calculated['class']  =  $calculated['class'];
240
-                    $attribute->calculated['method'] =  $calculated['method'];
239
+                    $attribute->calculated['class']  = $calculated['class'];
240
+                    $attribute->calculated['method'] = $calculated['method'];
241 241
                 }
242 242
             }
243 243
 
Please login to merge, or discard this patch.
src/Api/AbstractAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
     /**
89 89
      * {@inheritDoc}
90 90
      */
91
-    public function findQuery($typeKey, array $criteria, array $fields = [], array $sort = [], array $inclusions =[], $offset = 0, $limit = 0)
91
+    public function findQuery($typeKey, array $criteria, array $fields = [], array $sort = [], array $inclusions = [], $offset = 0, $limit = 0)
92 92
     {
93 93
         $collection = $this->getStore()->findQuery($typeKey, $criteria, $fields, $sort, $offset, $limit);
94 94
         $payload = $this->serializeCollection($collection);
Please login to merge, or discard this patch.
src/Api/AdapterInterface.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
      * @param   int         $limit      The number of Models to limit.
65 65
      * @return  Collection
66 66
      */
67
-    public function findQuery($typeKey, array $criteria, array $fields = [], array $sort = [], array $inclusions =[], $offset = 0, $limit = 0);
67
+    public function findQuery($typeKey, array $criteria, array $fields = [], array $sort = [], array $inclusions = [], $offset = 0, $limit = 0);
68 68
 
69 69
     /**
70 70
      * Creates a new model.
Please login to merge, or discard this patch.