ソースを参照

cs correction

euromark 12 年 前
コミット
939edd1b43
2 ファイル変更2 行追加2 行削除
  1. 1 1
      Model/Behavior/JsonableBehavior.php
  2. 1 1
      Model/Behavior/SluggedBehavior.php

+ 1 - 1
Model/Behavior/JsonableBehavior.php

@@ -52,7 +52,7 @@ class JsonableBehavior extends ModelBehavior {
 
 	public function setup(Model $Model, $config = array()) {
 		$this->settings[$Model->alias] = Set::merge($this->_defaultSettings, $config);
-		//extract ($this->settings[$Model->alias]);
+		//extract($this->settings[$Model->alias]);
 		if (!is_array($this->settings[$Model->alias]['fields'])) {
 			$this->settings[$Model->alias]['fields'] = (array)$this->settings[$Model->alias]['fields'];
 		}

+ 1 - 1
Model/Behavior/SluggedBehavior.php

@@ -49,7 +49,7 @@ class SluggedBehavior extends ModelBehavior {
  * mode has the following values
  * 	ascii - retuns an ascii slug generated using the core Inflector::slug() function
  * 	display - a dummy mode which returns a slug legal for display - removes illegal (not unprintable) characters
- * 	url - returns a slug appropriate to put in a url
+ * 	url - returns a slug appropriate to put in a URL
  * 	class - a dummy mode which returns a slug appropriate to put in a html class (there are no restrictions)
  * 	id - retuns a slug appropriate to use in a html id
  * case has the following values