Passed
Pull Request — master (#156)
by Alex
02:44
created
src/Edm/Validation/Internal/InterfaceValidator/VisitorOfIExpression.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,9 @@
 block discarded – undo
61 61
         $this->lookup[ExpressionKind::ValueTermReference()->getValue()]         = IValueTermReferenceExpression::class;
62 62
         $this->lookup[ExpressionKind::EntitySetReference()->getValue()]         = IEntitySetReferenceExpression::class;
63 63
         $this->lookup[ExpressionKind::EnumMemberReference()->getValue()]        = IEnumMemberReferenceExpression::class;
64
-        $this->lookup[ExpressionKind::If()->getValue()]                         = IIfExpression::class;
64
+        $this->lookup[ExpressionKind::If() {
65
+         ->getValue()]                         = IIfExpression::class;
66
+        }
65 67
         $this->lookup[ExpressionKind::AssertType()->getValue()]                 = IAssertTypeExpression::class;
66 68
         $this->lookup[ExpressionKind::IsType()->getValue()]                     = IIsTypeExpression::class;
67 69
         $this->lookup[ExpressionKind::FunctionApplication()->getValue()]        = IApplyExpression::class;
Please login to merge, or discard this patch.
src/Library/Expressions/EdmApplyExpression.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     public function __construct($appliedFunction, IExpression ...$arguments)
36 36
     {
37 37
         assert($appliedFunction instanceof IFunction || $appliedFunction instanceof IExpression);
38
-        if($appliedFunction instanceof IFunction){
38
+        if($appliedFunction instanceof IFunction) {
39 39
             $appliedFunction = new EdmFunctionReferenceExpression(EdmUtil::CheckArgumentNull($appliedFunction, "appliedFunction"));
40 40
         }
41 41
         assert($appliedFunction instanceof IExpression);
Please login to merge, or discard this patch.
src/Library/Expressions/EdmPathExpression.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function __construct(string ...$path)
28 28
     {
29
-        if(count($path) === 1){
29
+        if(count($path) === 1) {
30 30
             $path = explode('/', $path[]);
31 31
         }
32 32
         $this->path = $path;
Please login to merge, or discard this patch.