Completed
Push — master ( 8d3cbb...be3506 )
by Jakub
01:49
created
src/DI/MenuFactory.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         return $service;
40 40
       }
41 41
     }
42
-    throw new MenuItemConditionNotSupportedException("Condition $name is not defined.");
42
+    throw new MenuItemConditionNotSupportedException("condition $name is not defined.");
43 43
   }
44 44
   
45 45
   /**
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
       throw new InvalidMenuItemDefinitionException("Menu item is missing link.");
58 58
     }
59 59
     $item = new MenuItem($definition["link"], $text);
60
-    if(array_key_exists(static::SECTION_CONDITIONS, $definition) AND is_array($definition[static::SECTION_CONDITIONS])) {
60
+    if(array_key_exists(static::SECTION_CONDITIONS, $definition) and is_array($definition[static::SECTION_CONDITIONS])) {
61 61
       foreach($definition[static::SECTION_CONDITIONS] as $condition => $value) {
62 62
         try {
63 63
           $conditionService = $this->getCondition($condition);
Please login to merge, or discard this patch.