|
@@ -113,7 +113,7 @@ discard block |
|
|
block discarded – undo |
|
113
|
113
|
if ($reflectionMethod->isPublic() === true && |
|
114
|
114
|
$reflectionMethod->isStatic() === true && |
|
115
|
115
|
$reflectionMethod->hasReturnType() === true && |
|
116
|
|
- (string)$reflectionMethod->getReturnType() === 'bool' && |
|
|
116
|
+ (string) $reflectionMethod->getReturnType() === 'bool' && |
|
117
|
117
|
$reflectionMethod->getNumberOfParameters() === 1 && |
|
118
|
118
|
$reflectionMethod->getParameters()[0]->getClass()->implementsInterface(ContextInterface::class) === true |
|
119
|
119
|
) { |
|
@@ -162,7 +162,7 @@ discard block |
|
|
block discarded – undo |
|
162
|
162
|
} |
|
163
|
163
|
|
|
164
|
164
|
$policy = (new Policy($rules, RuleAlgorithm::firstApplicable())) |
|
165
|
|
- ->setName($policiesName . ' -> ResourceType' . "=`$resourcesType`") |
|
|
165
|
+ ->setName($policiesName.' -> ResourceType'."=`$resourcesType`") |
|
166
|
166
|
->setTarget($this->target(RequestProperties::REQ_RESOURCE_TYPE, $resourcesType)); |
|
167
|
167
|
|
|
168
|
168
|
return $policy; |
Please login to merge, or discard this patch.