@@ -48,7 +48,7 @@ discard block |
||
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 |
||
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 |
||
112 | 112 | KeyDescriptor $keyDescriptor, |
113 | 113 | string $propertyName, |
114 | 114 | $propertyValue |
115 | - ): bool ; |
|
115 | + ): bool; |
|
116 | 116 | } |
@@ -57,7 +57,7 @@ |
||
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 | } |