Completed
Push — master ( bdc56b...2eeb2e )
by Julien
06:25
created
Tests/Units/RestClient.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
             ->then
72 72
                 ->object($this->testedInstance->get('/not-json'))
73 73
                     ->isInstanceOf('\GuzzleHttp\Psr7\Response')
74
-           ;
74
+            ;
75 75
     }
76 76
 
77 77
     /**
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
                     ->isInstanceOf('Mapado\RestClientSdk\Exception\RestException')
111 111
                     ->hasMessage('Error while deleting resource')
112 112
                     ->hasCode(2)
113
-           ;
113
+            ;
114 114
     }
115 115
 
116 116
     /**
Please login to merge, or discard this patch.
Tests/Units/EntityRepository.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -340,10 +340,10 @@  discard block
 block discarded – undo
340 340
         $this
341 341
             ->if($repository->findBy(['section' => $section1]))
342 342
             // ->then(ldd(iterator_to_array($arrayAdapter->getItems())))
343
-           ->then
344
-               ->mock($this->mockedRestClient)
345
-                   ->call('get')
346
-                       ->withArguments('/sections?section=%2Fsections%2F1')->once()
343
+            ->then
344
+                ->mock($this->mockedRestClient)
345
+                    ->call('get')
346
+                        ->withArguments('/sections?section=%2Fsections%2F1')->once()
347 347
 
348 348
             ->if($repository->findAll())
349 349
             // ->then(ldd(iterator_to_array($arrayAdapter->getItems())))
@@ -351,11 +351,11 @@  discard block
 block discarded – undo
351 351
                 ->boolean($arrayAdapter->hasItem('test_prefix__sections_1'))
352 352
                     ->isTrue()
353 353
 
354
-           ->if($repository->find(1))
355
-           ->then
356
-               ->mock($this->mockedRestClient)
357
-                   ->call('get')
358
-                       ->withArguments('/sections/1')->never()
354
+            ->if($repository->find(1))
355
+            ->then
356
+                ->mock($this->mockedRestClient)
357
+                    ->call('get')
358
+                        ->withArguments('/sections/1')->never()
359 359
 
360 360
             // after update
361 361
             ->if($repository->update($section1))
Please login to merge, or discard this patch.
src/Model/ModelHydrator.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -33,13 +33,13 @@
 block discarded – undo
33 33
     }
34 34
 
35 35
     /**
36
-      * convertId
37
-      *
38
-      * @param string $id
39
-      * @param string $modelName
40
-      * @access public
41
-      * @return string
42
-      */
36
+     * convertId
37
+     *
38
+     * @param string $id
39
+     * @param string $modelName
40
+     * @access public
41
+     * @return string
42
+     */
43 43
     public function convertId($id, $modelName)
44 44
     {
45 45
         $id = (string) $id;
Please login to merge, or discard this patch.