@@ -36,7 +36,7 @@ |
||
36 | 36 | */ |
37 | 37 | private $isBindable; |
38 | 38 | |
39 | - public function __construct(IEntityContainer $container, string $name, ?ITypeReference $returnType, IExpression $entitySet = null, bool $isSideEffecting = true, bool $isComposable = false, bool $isBindable= false) |
|
39 | + public function __construct(IEntityContainer $container, string $name, ?ITypeReference $returnType, IExpression $entitySet = null, bool $isSideEffecting = true, bool $isComposable = false, bool $isBindable = false) |
|
40 | 40 | { |
41 | 41 | parent::__construct($name, $returnType); |
42 | 42 | $this->container = $container; |
@@ -33,7 +33,7 @@ |
||
33 | 33 | /** |
34 | 34 | * @var SplObjectStorage|array<IStructuredType, IStructuredType[]> |
35 | 35 | */ |
36 | - private $derivedTypeMappings ; |
|
36 | + private $derivedTypeMappings; |
|
37 | 37 | public function __construct(array $referencedModels = [], EdmDirectValueAnnotationsManager $annotationsManager = null) |
38 | 38 | { |
39 | 39 | $annotationsManager = $annotationsManager ?? new EdmDirectValueAnnotationsManager(); |
@@ -42,7 +42,7 @@ |
||
42 | 42 | */ |
43 | 43 | public function getExpression(): IExpression |
44 | 44 | { |
45 | - $expression = $this->expressionCache->getValue($this, [$this,'ComputeExpression']); |
|
45 | + $expression = $this->expressionCache->getValue($this, [$this, 'ComputeExpression']); |
|
46 | 46 | assert($expression instanceof IExpression); |
47 | 47 | return $expression; |
48 | 48 | } |
@@ -24,7 +24,7 @@ |
||
24 | 24 | public function __construct(array $errors) |
25 | 25 | { |
26 | 26 | parent::__construct($errors); |
27 | - $this->elementType = new BadTypeReference(new BadType($errors), true); |
|
27 | + $this->elementType = new BadTypeReference(new BadType($errors), true); |
|
28 | 28 | } |
29 | 29 | public function getTypeKind(): TypeKind |
30 | 30 | { |
@@ -73,7 +73,7 @@ |
||
73 | 73 | */ |
74 | 74 | public function getType(): ?ITypeReference |
75 | 75 | { |
76 | - return $this->type->getValue($this, [$this,'ComputeType']); |
|
76 | + return $this->type->getValue($this, [$this, 'ComputeType']); |
|
77 | 77 | } |
78 | 78 | |
79 | 79 | /** |
@@ -25,6 +25,6 @@ |
||
25 | 25 | */ |
26 | 26 | public function __construct(?string $qualifiedName, ILocation $location) |
27 | 27 | { |
28 | - parent::__construct($qualifiedName, [new EdmError($location, EdmErrorCode::BadCyclicComplex(), StringConst::Bad_CyclicComplex($qualifiedName)) ]); |
|
28 | + parent::__construct($qualifiedName, [new EdmError($location, EdmErrorCode::BadCyclicComplex(), StringConst::Bad_CyclicComplex($qualifiedName))]); |
|
29 | 29 | } |
30 | 30 | } |
@@ -20,6 +20,6 @@ |
||
20 | 20 | { |
21 | 21 | public function __construct(?string $qualifiedName, ILocation $location) |
22 | 22 | { |
23 | - parent::__construct($qualifiedName, [new EdmError($location, EdmErrorCode::BadCyclicEntity(), StringConst::Bad_CyclicEntity($qualifiedName)) ]); |
|
23 | + parent::__construct($qualifiedName, [new EdmError($location, EdmErrorCode::BadCyclicEntity(), StringConst::Bad_CyclicEntity($qualifiedName))]); |
|
24 | 24 | } |
25 | 25 | } |
@@ -48,7 +48,7 @@ |
||
48 | 48 | public function addBinding(INamedElement $binding): void |
49 | 49 | { |
50 | 50 | if (!in_array($binding, $this->bindings)) { |
51 | - $this->bindings[] = $binding; |
|
51 | + $this->bindings[] = $binding; |
|
52 | 52 | } |
53 | 53 | } |
54 | 54 |
@@ -27,7 +27,7 @@ |
||
27 | 27 | /** |
28 | 28 | * @var array<IDependent> |
29 | 29 | */ |
30 | - protected $dependents =[]; |
|
30 | + protected $dependents = []; |
|
31 | 31 | /** |
32 | 32 | * @var ITypeReference |
33 | 33 | */ |