Skip to content

Commit

Permalink
phpcs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Krämer committed Aug 8, 2016
1 parent f4903c6 commit 16b1316
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/ORM/SaveOptionsBuilder.php
Expand Up @@ -70,6 +70,7 @@ public function parseArrayOptions($array)
foreach ($array as $key => $value) {
$this->{$key}($value);
}

return $this;
}

Expand Down Expand Up @@ -134,6 +135,7 @@ protected function _checkAssociation(Table $table, $association)
public function guard($guard)
{
$this->_options['guard'] = (bool)$guard;

return $this;
}

Expand All @@ -147,6 +149,7 @@ public function validate($validate)
{
$this->_table->validator($validate);
$this->_options['validate'] = $validate;

return $this;
}

Expand All @@ -159,6 +162,7 @@ public function validate($validate)
public function checkExisting($checkExisting)
{
$this->_options['checkExisting'] = (bool)$checkExisting;

return $this;
}

Expand All @@ -171,6 +175,7 @@ public function checkExisting($checkExisting)
public function checkRules($checkRules)
{
$this->_options['checkRules'] = (bool)$checkRules;

return $this;
}

Expand All @@ -183,6 +188,7 @@ public function checkRules($checkRules)
public function atomic($atomic)
{
$this->_options['atomic'] = (bool)$atomic;

return $this;
}

Expand All @@ -207,6 +213,7 @@ public function set($option, $value)
return $this->{$option}($value);
}
$this->_options[$option] = $value;

return $this;
}
}

0 comments on commit 16b1316

Please sign in to comment.