Passed
Pull Request — master (#274)
by Christopher
03:22
created
src/POData/Providers/Query/IWriteQueryProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      * @param  array       $bindProperties key value pair of associated objects to hook up at creation (<string propertyName,<object $entities>>)
49 49
      * @return object|null On sucess it would return the new object (including new default and key fields) on failure it would return null
50 50
      */
51
-    public function saveNewEntity($newEntity, array $bindProperties = []);//: ?object
51
+    public function saveNewEntity($newEntity, array $bindProperties = []); //: ?object
52 52
 
53 53
     /**
54 54
      * Update an Entity.
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      * @param  array       $bindProperties key value pair of associated objects to hook up at creation (<string propertyName,<object $entities>>)
58 58
      * @return object|null the updated entity on sucess or null on failure
59 59
      */
60
-    public function updateEntity($entity, array $bindProperties = []);// : ?object
60
+    public function updateEntity($entity, array $bindProperties = []); // : ?object
61 61
 
62 62
     /**
63 63
      * Delete an Entity.
@@ -112,5 +112,5 @@  discard block
 block discarded – undo
112 112
         KeyDescriptor $keyDescriptor,
113 113
         string $propertyName,
114 114
         $propertyValue
115
-    ): bool ;
115
+    ): bool;
116 116
 }
Please login to merge, or discard this patch.
src/POData/SimpleDataService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
             $this->readQueryProvider = $db;
58 58
         } elseif (!empty($db->queryProviderClassName)) {
59 59
             $queryProviderClassName = $db->queryProviderClassName;
60
-            $this->readQueryProvider    = new $queryProviderClassName($db);
60
+            $this->readQueryProvider = new $queryProviderClassName($db);
61 61
         } else {
62 62
             throw new ODataException('Invalid query provider supplied', 500);
63 63
         }
Please login to merge, or discard this patch.