@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | return $this; |
28 | 28 | } |
29 | 29 | if (!is_string($cssClass)) { |
30 | - throw new \Exception(__METHOD__ . ': item is not a valid string'); |
|
30 | + throw new \Exception(__METHOD__.': item is not a valid string'); |
|
31 | 31 | } |
32 | 32 | $this->cssClasses[] = $cssClass; |
33 | 33 | return $this; |
@@ -43,11 +43,11 @@ discard block |
||
43 | 43 | return $this; |
44 | 44 | } |
45 | 45 | if (!is_array($cssClasses)) { |
46 | - throw new \Exception(__METHOD__ . ': parameter is not a valid array'); |
|
46 | + throw new \Exception(__METHOD__.': parameter is not a valid array'); |
|
47 | 47 | } |
48 | 48 | foreach ($cssClasses as $item) { |
49 | 49 | if (!is_string($item)) { |
50 | - throw new \Exception(__METHOD__ . ': item is not a valid string'); |
|
50 | + throw new \Exception(__METHOD__.': item is not a valid string'); |
|
51 | 51 | } |
52 | 52 | $this->cssClasses[] = $item; |
53 | 53 | } |