|
@@ -97,7 +97,7 @@ EOF;
|
|
*/
|
|
*/
|
|
public function offsetSet($offset, $value)
|
|
public function offsetSet($offset, $value)
|
|
{
|
|
{
|
|
- if (is_null($offset)) {
|
|
|
|
|
|
+ if (null === $offset) {
|
|
$this->violations[] = $value;
|
|
$this->violations[] = $value;
|
|
} else {
|
|
} else {
|
|
$this->violations[$offset] = $value;
|
|
$this->violations[$offset] = $value;
|