Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
doc block corrections
  • Loading branch information
euromark committed Jul 5, 2013
1 parent c478d60 commit ba02678
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 12 deletions.
8 changes: 4 additions & 4 deletions lib/Cake/Log/CakeLog.php
Expand Up @@ -255,8 +255,8 @@ public static function configured() {
* }}}
*
* @param array $levels array
* @param bool $append true to append, false to replace
* @return array active log levels
* @param boolean $append true to append, false to replace
* @return array Active log levels
*/
public static function levels($levels = array(), $append = true) {
if (empty(self::$_Collection)) {
Expand All @@ -278,7 +278,7 @@ public static function levels($levels = array(), $append = true) {
/**
* Reset log levels to the original value
*
* @return array default log levels
* @return array Default log levels
*/
public static function defaultLevels() {
self::$_levelMap = self::$_defaultLevels;
Expand All @@ -304,7 +304,7 @@ public static function drop($streamName) {
* Checks whether $streamName is enabled
*
* @param string $streamName to check
* @return bool
* @return boolean
* @throws CakeLogException
*/
public static function enabled($streamName) {
Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/Network/CakeRequest.php
Expand Up @@ -673,7 +673,7 @@ public function domain($tldLength = 1) {
*
* @param integer $tldLength Number of segments your tld contains. For example: `example.com` contains 1 tld.
* While `example.co.uk` contains 2.
* @return array of subdomains.
* @return array An array of subdomains.
*/
public function subdomains($tldLength = 1) {
$segments = explode('.', $this->host());
Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/Test/Case/Controller/Component/Acl/DbAclTest.php
Expand Up @@ -498,7 +498,7 @@ public function testRevoke() {
* Generates a list of the current aro and aco structures and a grid dump of the permissions that are defined
* Only designed to work with the db based ACL
*
* @param bool $treesToo
* @param boolean $treesToo
* @return void
*/
protected function _debug($printTreesToo = false) {
Expand Down
6 changes: 3 additions & 3 deletions lib/Cake/Test/Case/Model/BehaviorCollectionTest.php
Expand Up @@ -184,7 +184,7 @@ public function beforeValidate(Model $model) {
* afterValidate method
*
* @param Model $model
* @param bool $cascade
* @param boolean $cascade
* @return void
*/
public function afterValidate(Model $model) {
Expand All @@ -205,7 +205,7 @@ public function afterValidate(Model $model) {
* beforeDelete method
*
* @param Model $model
* @param bool $cascade
* @param boolean $cascade
* @return void
*/
public function beforeDelete(Model $model, $cascade = true) {
Expand Down Expand Up @@ -277,7 +277,7 @@ public function beforeTest(Model $model) {
* testMethod method
*
* @param Model $model
* @param bool $param
* @param boolean $param
* @return void
*/
public function testMethod(Model $model, $param = true) {
Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/Test/Case/Model/models.php
Expand Up @@ -2547,7 +2547,7 @@ class NumberTree extends CakeTestModel {
* @param mixed $currentLevel
* @param mixed $parent_id
* @param string $prefix
* @param bool $hierarchal
* @param boolean $hierarchal
* @return void
*/
public function initialize($levelLimit = 3, $childLimit = 3, $currentLevel = null, $parentId = null, $prefix = '1', $hierarchal = true) {
Expand Down
4 changes: 3 additions & 1 deletion lib/Cake/Test/Case/Network/CakeRequestTest.php
Expand Up @@ -33,7 +33,8 @@ class TestCakeRequest extends CakeRequest {
* reConstruct method
*
* @param string $url
* @param bool $parseEnvironment
* @param boolean $parseEnvironment
* @return void
*/
public function reConstruct($url = 'some/path', $parseEnvironment = true) {
$this->_base();
Expand Down Expand Up @@ -2105,6 +2106,7 @@ public function testOnlyAllow() {
/**
* Test onlyAllow throwing exception
*
* @return void
*/
public function testOnlyAllowException() {
$_SERVER['REQUEST_METHOD'] = 'PUT';
Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/Test/Case/Utility/FileTest.php
Expand Up @@ -543,7 +543,7 @@ public function testMime() {
/**
* getTmpFile method
*
* @param bool $paintSkip
* @param boolean $paintSkip
* @return void
*/
protected function _getTmpFile($paintSkip = true) {
Expand Down

0 comments on commit ba02678

Please sign in to comment.