added space after type cast (I could not find any rule in psr1/2 standard, but I modified in PhpStorm)
This commit is contained in:
parent
2326033e79
commit
0d8f572661
@ -58,7 +58,7 @@ class MetadataFilter extends \FilterIterator implements \Countable
|
|||||||
*/
|
*/
|
||||||
public function __construct(\ArrayIterator $metadata, $filter)
|
public function __construct(\ArrayIterator $metadata, $filter)
|
||||||
{
|
{
|
||||||
$this->filter = (array)$filter;
|
$this->filter = (array) $filter;
|
||||||
|
|
||||||
parent::__construct($metadata);
|
parent::__construct($metadata);
|
||||||
}
|
}
|
||||||
@ -76,7 +76,7 @@ class MetadataFilter extends \FilterIterator implements \Countable
|
|||||||
$metadata = $it->current();
|
$metadata = $it->current();
|
||||||
|
|
||||||
foreach ($this->filter as $filter) {
|
foreach ($this->filter as $filter) {
|
||||||
if (preg_match("/".preg_quote($filter)."/", $metadata->name)) {
|
if (preg_match("/" . preg_quote($filter) . "/", $metadata->name)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user