Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
boolean to bool in docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Jan 4, 2013
1 parent edf98ac commit 69e5c8a
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Config implements Countable, Iterator, ArrayAccess
/**
* Whether modifications to configuration data are allowed.
*
* @var boolean
* @var bool
*/
protected $allowModifications;

Expand All @@ -52,7 +52,7 @@ class Config implements Countable, Iterator, ArrayAccess
* Used when unsetting values during iteration to ensure we do not skip
* the next element.
*
* @var boolean
* @var bool
*/
protected $skipNextIteration;

Expand All @@ -63,7 +63,7 @@ class Config implements Countable, Iterator, ArrayAccess
* on construction.
*
* @param array $array
* @param boolean $allowModifications
* @param bool $allowModifications
*/
public function __construct(array $array, $allowModifications = false)
{
Expand Down Expand Up @@ -185,7 +185,7 @@ public function toArray()
* isset() overloading
*
* @param string $name
* @return boolean
* @return bool
*/
public function __isset($name)
{
Expand Down Expand Up @@ -276,7 +276,7 @@ public function rewind()
* valid(): defined by Iterator interface.
*
* @see Iterator::valid()
* @return boolean
* @return bool
*/
public function valid()
{
Expand All @@ -288,7 +288,7 @@ public function valid()
*
* @see ArrayAccess::offsetExists()
* @param mixed $offset
* @return boolean
* @return bool
*/
public function offsetExists($offset)
{
Expand Down Expand Up @@ -396,7 +396,7 @@ public function setReadOnly()
/**
* Returns whether this Config object is read only or not.
*
* @return boolean
* @return bool
*/
public function isReadOnly()
{
Expand Down
4 changes: 2 additions & 2 deletions src/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Factory
* Read a config from a file.
*
* @param string $filename
* @param boolean $returnConfigObject
* @param bool $returnConfigObject
* @return array|Config
* @throws Exception\InvalidArgumentException
* @throws Exception\RuntimeException
Expand Down Expand Up @@ -93,7 +93,7 @@ public static function fromFile($filename, $returnConfigObject = false)
* Read configuration from multiple files and merge them.
*
* @param array $files
* @param boolean $returnConfigObject
* @param bool $returnConfigObject
* @return array|Config
*/
public static function fromFiles(array $files, $returnConfigObject = false)
Expand Down
2 changes: 1 addition & 1 deletion src/Reader/ReaderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function fromFile($filename);
* Read from a string and create an array
*
* @param string $string
* @return array|boolean
* @return array|bool
*/
public function fromString($string);
}
2 changes: 1 addition & 1 deletion src/Writer/AbstractWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ abstract class AbstractWriter implements WriterInterface
* @see WriterInterface::toFile()
* @param string $filename
* @param mixed $config
* @param boolean $exclusiveLock
* @param bool $exclusiveLock
* @return void
* @throws Exception\InvalidArgumentException
* @throws Exception\RuntimeException
Expand Down
2 changes: 1 addition & 1 deletion src/Writer/Ini.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function setRenderWithoutSectionsFlags($withoutSections)
/**
* Return whether the writer should render without sections.
*
* @return boolean
* @return bool
*/
public function shouldRenderWithoutSections()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Writer/WriterInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ interface WriterInterface
*
* @param string $filename
* @param mixed $config
* @param boolean $exclusiveLock
* @param bool $exclusiveLock
* @return void
*/
public function toFile($filename, $config, $exclusiveLock = true);
Expand Down

0 comments on commit 69e5c8a

Please sign in to comment.