Completed
Push — master ( a36596...571778 )
by Christopher
05:52
created
src/Providers/QueryProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     public function register()
26 26
     {
27
-        $this->app->singleton('odataquery', function ($app) {
27
+        $this->app->singleton('odataquery', function($app) {
28 28
            return new LaravelQuery();
29 29
         });
30 30
     }
Please login to merge, or discard this patch.
src/Query/LaravelExpressionProvider.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
      */
67 67
     public function setResourceType(ResourceType $resourceType)
68 68
     {
69
-        $this->iteratorName = "$" . $resourceType->getName();
69
+        $this->iteratorName = "$".$resourceType->getName();
70 70
         $this->resourceType = $resourceType;
71 71
     }
72 72
     /**
Please login to merge, or discard this patch.
src/Query/LaravelQuery.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -290,7 +290,7 @@
 block discarded – undo
290 290
     }
291 291
     /**
292 292
      * Delete resource from a resource set.
293
-     * @param ResourceSet|null $resourceSet
293
+     * @param ResourceSet|null $sourceResourceSet
294 294
      * @param object           $sourceEntityInstance
295 295
      *
296 296
      * return bool true if resources sucessfully deteled, otherwise false.
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -285,7 +285,7 @@  discard block
 block discarded – undo
285 285
      *
286 286
      * @return object|null The new resource value if it is assignable or throw exception for null.
287 287
      */
288
-    public function updateResource(ResourceSet $sourceResourceSet,$sourceEntityInstance, KeyDescriptor $keyDescriptor,$data, $shouldUpdate = false){
288
+    public function updateResource(ResourceSet $sourceResourceSet, $sourceEntityInstance, KeyDescriptor $keyDescriptor, $data, $shouldUpdate = false) {
289 289
         throw new \POData\Common\NotImplementedException();
290 290
     }
291 291
     /**
@@ -298,7 +298,7 @@  discard block
 block discarded – undo
298 298
     public function deleteResource(
299 299
         ResourceSet $sourceResourceSet,
300 300
         $sourceEntityInstance
301
-    ){
301
+    ) {
302 302
         throw new \POData\Common\NotImplementedException();
303 303
     }
304 304
     /**
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
         ResourceSet $resourceSet,
313 313
         $sourceEntityInstance,
314 314
         $data
315
-    ){
315
+    ) {
316 316
         throw new \POData\Common\NotImplementedException();
317 317
     }
318 318
 }
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 namespace AlgoWeb\PODataLaravel\Models;
3 3
 
4 4
 use Illuminate\Support\Facades\Schema;
5
-use Illuminate\Support\Facades\DB;
6 5
 use Illuminate\Support\Facades\App;
7 6
 use Illuminate\Database\Eloquent\Relations\Relation;
8 7
 use POData\Providers\Metadata\ResourceStreamInfo;
Please login to merge, or discard this patch.
src/Providers/MetadataProvider.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,11 +21,11 @@
 block discarded – undo
21 21
     {
22 22
         self::$METANAMESPACE = env('ODataMetaNamespace', 'Data');
23 23
         // If we aren't migrated, there's no DB tables to pull metadata _from_, so bail out early
24
-        try{
24
+        try {
25 25
             if (!Schema::hasTable('migrations')) {
26 26
                 return;
27 27
             }
28
-        }catch(\Exception $e){
28
+        } catch (\Exception $e) {
29 29
             return;
30 30
         }
31 31
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
             if (!Schema::hasTable('migrations')) {
26 26
                 return;
27 27
             }
28
-        }catch(\Exception $e){
28
+        } catch(\Exception $e){
29 29
             return;
30 30
         }
31 31
 
Please login to merge, or discard this patch.