@@ -12,7 +12,7 @@ |
||
12 | 12 | { |
13 | 13 | if (!is_string($string)) { |
14 | 14 | throw new \InvalidArgumentException( |
15 | - 'Argument should be string, got ' . gettype($string) . ' instead.' |
|
15 | + 'Argument should be string, got '.gettype($string).' instead.' |
|
16 | 16 | ); |
17 | 17 | } |
18 | 18 |
@@ -56,7 +56,6 @@ |
||
56 | 56 | use CultuurNet\UDB3\Place\Events\PlaceProjectedToJSONLD; |
57 | 57 | use CultuurNet\UDB3\PlaceService; |
58 | 58 | use CultuurNet\UDB3\ReadModel\JsonDocument; |
59 | -use CultuurNet\UDB3\StringFilter\StringFilterInterface; |
|
60 | 59 | use CultuurNet\UDB3\Theme; |
61 | 60 | use Symfony\Component\Serializer\SerializerInterface; |
62 | 61 | use ValueObjects\String\String; |
@@ -12,7 +12,6 @@ |
||
12 | 12 | use CultuurNet\UDB3\EntityServiceInterface; |
13 | 13 | use CultuurNet\UDB3\Event\ReadModel\DocumentRepositoryInterface; |
14 | 14 | use CultuurNet\UDB3\Event\ReadModel\JSONLD\CdbXMLImporter; |
15 | -use CultuurNet\UDB3\Event\ReadModel\JSONLD\CdbXMLLongDescriptionFilter; |
|
16 | 15 | use CultuurNet\UDB3\Event\ReadModel\JSONLD\OrganizerServiceInterface; |
17 | 16 | use CultuurNet\UDB3\EventHandling\DelegateEventHandlingToSpecificMethodTrait; |
18 | 17 | use CultuurNet\UDB3\Iri\IriGeneratorInterface; |
@@ -11,7 +11,7 @@ |
||
11 | 11 | public function filter($string) |
12 | 12 | { |
13 | 13 | if (!is_string($string)) { |
14 | - throw new \InvalidArgumentException('Argument should be string, got ' . gettype($string) . ' instead.'); |
|
14 | + throw new \InvalidArgumentException('Argument should be string, got '.gettype($string).' instead.'); |
|
15 | 15 | } |
16 | 16 | |
17 | 17 | return preg_replace("/(\\n)+/", " ", $string); |
@@ -11,7 +11,7 @@ |
||
11 | 11 | public function filter($string) |
12 | 12 | { |
13 | 13 | if (!is_string($string)) { |
14 | - throw new \InvalidArgumentException('Argument should be string, got ' . gettype($string) . ' instead.'); |
|
14 | + throw new \InvalidArgumentException('Argument should be string, got '.gettype($string).' instead.'); |
|
15 | 15 | } |
16 | 16 | |
17 | 17 | return preg_replace("/(\\n)+/", " ", $string); |
@@ -11,7 +11,7 @@ |
||
11 | 11 | public function filter($string) |
12 | 12 | { |
13 | 13 | if (!is_string($string)) { |
14 | - throw new \InvalidArgumentException('Argument should be string, got ' . gettype($string) . ' instead.'); |
|
14 | + throw new \InvalidArgumentException('Argument should be string, got '.gettype($string).' instead.'); |
|
15 | 15 | } |
16 | 16 | |
17 | 17 | return preg_replace("/(\\n)+/", " ", $string); |