Passed
Pull Request — master (#78)
by guillaume
13:19 queued 06:42
created
app/Src/UseCases/Domain/Context/UseCases/AddCharacteristicsToContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,9 +38,9 @@
 block discarded – undo
38 38
         $pages = $this->pageRepository->getByIds($pagesIds);
39 39
 
40 40
         $characteristics = [];
41
-        foreach ($pages as $page){
41
+        foreach ($pages as $page) {
42 42
             $characteristic = $this->characteristicsRepository->getByPageId($page->pageId());
43
-            if(!isset($characteristic)){
43
+            if (!isset($characteristic)) {
44 44
                 $type = $page->type() === 'Culture' ? Characteristic::FARMING_TYPE : Characteristic::CROPPING_SYSTEM;
45 45
                 $characteristic = new Characteristic(
46 46
                     Uuid::uuid4(),
Please login to merge, or discard this patch.