@@ -673,11 +673,11 @@ discard block |
||
| 673 | 673 | $counter += isset($this->$name) ? 1 : 0; |
| 674 | 674 | } |
| 675 | 675 | if (-1 < $this->gExpressionMinimum && $counter < $this->gExpressionMinimum) { |
| 676 | - $msg = $counter . " fields not null. Need minimum of ".$this->gExpressionMinimum; |
|
| 676 | + $msg = $counter." fields not null. Need minimum of ".$this->gExpressionMinimum; |
|
| 677 | 677 | return false; |
| 678 | 678 | } |
| 679 | 679 | if (-1 < $this->gExpressionMaximum && $counter > $this->gExpressionMaximum) { |
| 680 | - $msg = $counter . " fields not null. Need maximum of ".$this->gExpressionMaximum; |
|
| 680 | + $msg = $counter." fields not null. Need maximum of ".$this->gExpressionMaximum; |
|
| 681 | 681 | return false; |
| 682 | 682 | } |
| 683 | 683 | } |
@@ -687,7 +687,7 @@ discard block |
||
| 687 | 687 | return false; |
| 688 | 688 | } |
| 689 | 689 | if (!$this->isObjectNullOrType($type, $this->$key)) { |
| 690 | - $msg = 'Type mismatch - should be ' .$type. ", is ".get_class($this->$key); |
|
| 690 | + $msg = 'Type mismatch - should be '.$type.", is ".get_class($this->$key); |
|
| 691 | 691 | return false; |
| 692 | 692 | } |
| 693 | 693 | } |
@@ -22,10 +22,10 @@ |
||
| 22 | 22 | private $type = null; |
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | - * Gets as type |
|
| 26 | - * |
|
| 27 | - * @return string |
|
| 28 | - */ |
|
| 25 | + * Gets as type |
|
| 26 | + * |
|
| 27 | + * @return string |
|
| 28 | + */ |
|
| 29 | 29 | public function getType() |
| 30 | 30 | { |
| 31 | 31 | return $this->type; |