@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | // check if options is defined |
45 | 45 | $options = $this->properties['options']; |
46 | 46 | if (!Obj::isIterable($options)) { |
47 | - throw new SyntaxException('Options for field ' . self::nohtml($this->name) . ' is not iterable'); |
|
47 | + throw new SyntaxException('Options for field '.self::nohtml($this->name).' is not iterable'); |
|
48 | 48 | } |
49 | 49 | unset($this->properties['options']); |
50 | 50 | |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | $this->properties['value'] = $opt; |
66 | 66 | // apply structured checkboxes style for each item |
67 | 67 | $build .= App::$View->render('native/form/multi_checkboxes_list', [ |
68 | - 'item' => self::buildSingleTag('input', $this->properties) . self::nohtml($opt) |
|
68 | + 'item' => self::buildSingleTag('input', $this->properties).self::nohtml($opt) |
|
69 | 69 | ]); |
70 | 70 | } |
71 | 71 |
@@ -41,7 +41,7 @@ |
||
41 | 41 | // get options from properties |
42 | 42 | $options = $this->properties['options']; |
43 | 43 | if (!Obj::isIterable($options)) { |
44 | - throw new SyntaxException('Radio field ' . self::nohtml($this->name) . ' have no iterable options'); |
|
44 | + throw new SyntaxException('Radio field '.self::nohtml($this->name).' have no iterable options'); |
|
45 | 45 | } |
46 | 46 | unset($this->properties['options'], $this->properties['value']); |
47 | 47 |
@@ -36,7 +36,7 @@ |
||
36 | 36 | $options = $this->properties['options']; |
37 | 37 | $optionsKey = (bool)$this->properties['optionsKey']; |
38 | 38 | if (!Obj::isIterable($options)) { |
39 | - throw new SyntaxException('Options for field ' . self::nohtml($this->name) . ' is not iterable'); |
|
39 | + throw new SyntaxException('Options for field '.self::nohtml($this->name).' is not iterable'); |
|
40 | 40 | } |
41 | 41 | unset($this->properties['options']); |
42 | 42 |
@@ -35,7 +35,7 @@ |
||
35 | 35 | $options = $this->properties['options']; |
36 | 36 | unset($this->properties['options']); |
37 | 37 | if (!Obj::isIterable($options)) { |
38 | - throw new SyntaxException('Select field ' . self::nohtml($this->name) . ' have no iterable options'); |
|
38 | + throw new SyntaxException('Select field '.self::nohtml($this->name).' have no iterable options'); |
|
39 | 39 | } |
40 | 40 | // value is not used there |
41 | 41 | unset($this->properties['value']); |