Test Failed
Branch master (b73bf5)
by Christopher
05:55
created
src/Providers/MetadataProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
      */
99 99
     public function register()
100 100
     {
101
-        $this->app->singleton('metadata', function ($app) {
101
+        $this->app->singleton('metadata', function($app) {
102 102
             return new SimpleMetadataProvider('Data', self::$METANAMESPACE);
103 103
         });
104 104
     }
Please login to merge, or discard this patch.
src/Query/LaravelQuery.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -310,7 +310,7 @@
 block discarded – undo
310 310
     }
311 311
     /**
312 312
      * Delete resource from a resource set.
313
-     * @param ResourceSet|null $sourceResourceSet
313
+     * @param ResourceSet $sourceResourceSet
314 314
      * @param object           $sourceEntityInstance
315 315
      *
316 316
      * return bool true if resources sucessfully deteled, otherwise false.
Please login to merge, or discard this patch.
src/Providers/MetadataControllerProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
      */
80 80
     public function register()
81 81
     {
82
-        $this->app->singleton('metadataControllers', function ($app) {
82
+        $this->app->singleton('metadataControllers', function($app) {
83 83
             return new MetadataControllerContainer();
84 84
         });
85 85
     }
Please login to merge, or discard this patch.
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/Models/MetadataTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
 
125 125
         $complex = $metadata->addEntityType(new \ReflectionClass(get_class($this)), $table, $MetaNamespace);
126 126
         $keyName = $this->getKeyName();
127
-        if(null != $keyName){
127
+        if (null != $keyName) {
128 128
             $metadata->addKeyProperty($complex, $keyName, $this->mapping[$raw[$keyName]['type']]);
129 129
         }
130 130
         foreach ($raw as $key => $secret) {
Please login to merge, or discard this patch.