|
@@ -142,7 +142,7 @@ discard block |
|
|
block discarded – undo |
|
142
|
142
|
return $this->parameters; |
|
143
|
143
|
} |
|
144
|
144
|
|
|
145
|
|
- return array_filter($this->parameters, function (PropertyParameterInterface $parameter) use ($filterByPropertyParameterClass) { |
|
|
145
|
+ return array_filter($this->parameters, function(PropertyParameterInterface $parameter) use ($filterByPropertyParameterClass) { |
|
146
|
146
|
return $parameter instanceof $filterByPropertyParameterClass; |
|
147
|
147
|
}); |
|
148
|
148
|
} |
|
@@ -153,7 +153,7 @@ discard block |
|
|
block discarded – undo |
|
153
|
153
|
return $this->properties; |
|
154
|
154
|
} |
|
155
|
155
|
|
|
156
|
|
- return array_filter($this->properties, function (PropertyInterface $property) use ($forPropertyClass) { |
|
|
156
|
+ return array_filter($this->properties, function(PropertyInterface $property) use ($forPropertyClass) { |
|
157
|
157
|
return $property instanceof $forPropertyClass; |
|
158
|
158
|
}); |
|
159
|
159
|
} |
Please login to merge, or discard this patch.