From 0d8f572661a0070e5f32664309c88df873cf8b3f Mon Sep 17 00:00:00 2001 From: catalin Date: Tue, 6 Nov 2012 22:31:54 +0200 Subject: [PATCH] added space after type cast (I could not find any rule in psr1/2 standard, but I modified in PhpStorm) --- lib/Doctrine/ORM/Tools/Console/MetadataFilter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/ORM/Tools/Console/MetadataFilter.php b/lib/Doctrine/ORM/Tools/Console/MetadataFilter.php index 52a826418..92a4a6b58 100644 --- a/lib/Doctrine/ORM/Tools/Console/MetadataFilter.php +++ b/lib/Doctrine/ORM/Tools/Console/MetadataFilter.php @@ -58,7 +58,7 @@ class MetadataFilter extends \FilterIterator implements \Countable */ public function __construct(\ArrayIterator $metadata, $filter) { - $this->filter = (array)$filter; + $this->filter = (array) $filter; parent::__construct($metadata); } @@ -76,7 +76,7 @@ class MetadataFilter extends \FilterIterator implements \Countable $metadata = $it->current(); foreach ($this->filter as $filter) { - if (preg_match("/".preg_quote($filter)."/", $metadata->name)) { + if (preg_match("/" . preg_quote($filter) . "/", $metadata->name)) { return true; } }