@@ -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 | |
@@ -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); | 
                                                        
@@ -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); |