Permalink
Browse files

Fix phpcs violations

  • Loading branch information...
1 parent ece6061 commit b16db22089eab5fc1e6a8e1f50b24009822c9e5a @josegonzalez committed Nov 14, 2015
Showing with 3 additions and 3 deletions.
  1. +3 −3 Model/Behavior/PurifiableBehavior.php
@@ -18,7 +18,7 @@ class PurifiableBehavior extends ModelBehavior {
* @access public
* @see Model::$alias
*/
- public $_settings = array(
+ protected $_settings = array(
'fields' => array(),
'overwrite' => false,
'affix' => '_clean',
@@ -63,7 +63,7 @@ public function setup(Model $model, $config = array()) {
*
* @param Model $model Model instance
* @param array $options Options passed from Model::save().
- * @return boolean
+ * @return bool
*/
public function beforeSave(Model $model, $options = array()) {
foreach ($this->settings[$model->alias]['fields'] as $fieldName) {
@@ -90,7 +90,7 @@ public function beforeSave(Model $model, $options = array()) {
*
* @param Model $model Model instance
* @param string $fieldValue value that will be sanitized
- * @return boolean
+ * @return bool
*/
public function clean(Model $model, $fieldValue) {
if (!class_exists('HTMLPurifier')) {

0 comments on commit b16db22

Please sign in to comment.