Skip to content

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 8b28a19 commit c000eba
Show file tree
Hide file tree
Showing 301 changed files with 885 additions and 885 deletions.
8 changes: 4 additions & 4 deletions library/Zend/Authentication/Adapter/DbTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class DbTable implements AdapterInterface
* different credentials. Default is FALSE and need to be set to true to
* allow ambiguity usage.
*
* @var boolean
* @var bool
*/
protected $ambiguityIdentity = false;

Expand Down Expand Up @@ -265,7 +265,7 @@ public function getDbSelect()
*
* @param string|array $returnColumns
* @param string|array $omitColumns
* @return stdClass|boolean
* @return stdClass|bool
*/
public function getResultRowObject($returnColumns = null, $omitColumns = null)
{
Expand Down Expand Up @@ -339,7 +339,7 @@ public function authenticate()
* required pieces of information.
*
* @throws Exception\RuntimeException in the event that setup was not done properly
* @return boolean
* @return bool
*/
protected function _authenticateSetup()
{
Expand Down Expand Up @@ -431,7 +431,7 @@ protected function _authenticateQuerySelect(DbSelect $dbSelect)
* certain that only one record was returned in the resultset
*
* @param array $resultIdentities
* @return boolean|\Zend\Authentication\Result
* @return bool|\Zend\Authentication\Result
*/
protected function _authenticateValidateResultSet(array $resultIdentities)
{
Expand Down
6 changes: 3 additions & 3 deletions library/Zend/Authentication/Adapter/Http.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class Http implements AdapterInterface
/**
* Whether to send the opaque value in the header. True by default
*
* @var boolean
* @var bool
*/
protected $useOpaque;

Expand Down Expand Up @@ -126,14 +126,14 @@ class Http implements AdapterInterface
* Whether or not to do Proxy Authentication instead of origin server
* authentication (send 407's instead of 401's). Off by default.
*
* @var boolean
* @var bool
*/
protected $imaProxy;

/**
* Flag indicating the client is IE and didn't bother to return the opaque string
*
* @var boolean
* @var bool
*/
protected $ieNoOpaque;

Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Authentication/Adapter/Ldap.php
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ protected function checkGroupMembership(ZendLdap\Ldap $ldap, $canonicalName, $dn
*
* @param array $returnAttribs
* @param array $omitAttribs
* @return stdClass|boolean
* @return stdClass|bool
*/
public function getAccountObject(array $returnAttribs = array(), array $omitAttribs = array())
{
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Authentication/AuthenticationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public function authenticate(Adapter\AdapterInterface $adapter = null)
/**
* Returns true if and only if an identity is available from storage
*
* @return boolean
* @return bool
*/
public function hasIdentity()
{
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Authentication/Result.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function __construct($code, $identity, array $messages = array())
/**
* Returns whether the result represents a successful authentication attempt
*
* @return boolean
* @return bool
*/
public function isValid()
{
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Authentication/Storage/NonPersistent.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class NonPersistent implements StorageInterface
/**
* Returns true if and only if storage is empty
*
* @return boolean
* @return bool
*/
public function isEmpty()
{
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Authentication/Storage/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function getMember()
/**
* Defined by Zend\Authentication\Storage\StorageInterface
*
* @return boolean
* @return bool
*/
public function isEmpty()
{
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Authentication/Storage/StorageInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ interface StorageInterface
* Returns true if and only if storage is empty
*
* @throws \Zend\Authentication\Exception\ExceptionInterface If it is impossible to determine whether storage is empty
* @return boolean
* @return bool
*/
public function isEmpty();

Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Barcode/Barcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public static function getRendererPluginManager()
* @param mixed $renderer String name of renderer class
* @param mixed $barcodeConfig OPTIONAL; an array or Traversable object with barcode parameters.
* @param mixed $rendererConfig OPTIONAL; an array or Traversable object with renderer parameters.
* @param boolean $automaticRenderError OPTIONAL; set the automatic rendering of exception
* @param bool $automaticRenderError OPTIONAL; set the automatic rendering of exception
* @return Barcode
* @throws Exception\ExceptionInterface
*/
Expand Down
50 changes: 25 additions & 25 deletions library/Zend/Barcode/Object/AbstractObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,19 +92,19 @@ abstract class AbstractObject implements ObjectInterface

/**
* Activate/deactivate border of the object
* @var boolean
* @var bool
*/
protected $withBorder = false;

/**
* Activate/deactivate drawing of quiet zones
* @var boolean
* @var bool
*/
protected $withQuietZones = true;

/**
* Force quiet zones even if
* @var boolean
* @var bool
*/
protected $mandatoryQuietZones = false;

Expand Down Expand Up @@ -136,13 +136,13 @@ abstract class AbstractObject implements ObjectInterface

/**
* Display (or not) human readable text
* @var boolean
* @var bool
*/
protected $drawText = true;

/**
* Adjust (or not) position of human readable characters with barcode
* @var boolean
* @var bool
*/
protected $stretchText = false;

Expand All @@ -162,13 +162,13 @@ abstract class AbstractObject implements ObjectInterface

/**
* Drawing of checksum
* @var boolean
* @var bool
*/
protected $withChecksum = false;

/**
* Drawing of checksum inside text
* @var boolean
* @var bool
*/
protected $withChecksumInText = false;

Expand All @@ -181,14 +181,14 @@ abstract class AbstractObject implements ObjectInterface
/**
* Activate automatic addition of leading zeros
* if barcode length is fixed
* @var boolean
* @var bool
*/
protected $addLeadingZeros = true;

/**
* Activation of mandatory checksum
* to deactivate unauthorized modification
* @var boolean
* @var bool
*/
protected $mandatoryChecksum = false;

Expand Down Expand Up @@ -440,7 +440,7 @@ public function getBackgroundColor()

/**
* Activate/deactivate drawing of the bar
* @param boolean $value
* @param bool $value
* @return \Zend\Barcode\Object\ObjectInterface
*/
public function setWithBorder($value)
Expand All @@ -451,7 +451,7 @@ public function setWithBorder($value)

/**
* Retrieve if border are draw or not
* @return boolean
* @return bool
*/
public function getWithBorder()
{
Expand All @@ -460,7 +460,7 @@ public function getWithBorder()

/**
* Activate/deactivate drawing of the quiet zones
* @param boolean $value
* @param bool $value
* @return AbstractObject
*/
public function setWithQuietZones($value)
Expand All @@ -471,7 +471,7 @@ public function setWithQuietZones($value)

/**
* Retrieve if quiet zones are draw or not
* @return boolean
* @return bool
*/
public function getWithQuietZones()
{
Expand Down Expand Up @@ -538,7 +538,7 @@ public function getText()
/**
* Automatically add leading zeros if barcode length is fixed
* @param string $text
* @param boolean $withoutChecksum
* @param bool $withoutChecksum
* @return string
*/
protected function addLeadingZeros($text, $withoutChecksum = false)
Expand Down Expand Up @@ -583,7 +583,7 @@ public function getTextToDisplay()

/**
* Activate/deactivate drawing of text to encode
* @param boolean $value
* @param bool $value
* @return \Zend\Barcode\Object\ObjectInterface
*/
public function setDrawText($value)
Expand All @@ -594,7 +594,7 @@ public function setDrawText($value)

/**
* Retrieve if drawing of text to encode is enabled
* @return boolean
* @return bool
*/
public function getDrawText()
{
Expand All @@ -604,7 +604,7 @@ public function getDrawText()
/**
* Activate/deactivate the adjustment of the position
* of the characters to the position of the bars
* @param boolean $value
* @param bool $value
* @return \Zend\Barcode\Object\ObjectInterface
* @throw \Zend\Barcode\Object\Exception\ExceptionInterface
*/
Expand All @@ -617,7 +617,7 @@ public function setStretchText($value)
/**
* Retrieve if the adjustment of the position of the characters
* to the position of the bars is enabled
* @return boolean
* @return bool
*/
public function getStretchText()
{
Expand All @@ -628,7 +628,7 @@ public function getStretchText()
* Activate/deactivate the automatic generation
* of the checksum character
* added to the barcode text
* @param boolean $value
* @param bool $value
* @return \Zend\Barcode\Object\ObjectInterface
*/
public function setWithChecksum($value)
Expand All @@ -642,7 +642,7 @@ public function setWithChecksum($value)
/**
* Retrieve if the checksum character is automatically
* added to the barcode text
* @return boolean
* @return bool
*/
public function getWithChecksum()
{
Expand All @@ -653,7 +653,7 @@ public function getWithChecksum()
* Activate/deactivate the automatic generation
* of the checksum character
* added to the barcode text
* @param boolean $value
* @param bool $value
* @return \Zend\Barcode\Object\ObjectInterface
* @throw \Zend\Barcode\Object\Exception\ExceptionInterface
*/
Expand All @@ -668,7 +668,7 @@ public function setWithChecksumInText($value)
/**
* Retrieve if the checksum character is automatically
* added to the barcode text
* @return boolean
* @return bool
*/
public function getWithChecksumInText()
{
Expand Down Expand Up @@ -785,7 +785,7 @@ public function getInstructions()
* Add a polygon drawing instruction in the set of instructions
* @param array $points
* @param integer $color
* @param boolean $filled
* @param bool $filled
*/
protected function addPolygon(array $points, $color = null, $filled = true)
{
Expand Down Expand Up @@ -975,7 +975,7 @@ public function getWidth($recalculate = false)
/**
* Calculate the offset from the left of the object
* if an orientation is activated
* @param boolean $recalculate
* @param bool $recalculate
* @return float
*/
public function getOffsetLeft($recalculate = false)
Expand All @@ -1002,7 +1002,7 @@ public function getOffsetLeft($recalculate = false)
/**
* Calculate the offset from the top of the object
* if an orientation is activated
* @param boolean $recalculate
* @param bool $recalculate
* @return float
*/
public function getOffsetTop($recalculate = false)
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Barcode/Object/Code128.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Code128 extends AbstractObject
/**
* Drawing of checksum
* (even if it's sometime optional, most of time it's required)
* @var boolean
* @var bool
*/
protected $withChecksum = true;

Expand Down
6 changes: 3 additions & 3 deletions library/Zend/Barcode/Object/Code25interleaved.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Code25interleaved extends Code25
{
/**
* Drawing of bearer bars
* @var boolean
* @var bool
*/
private $withBearerBars = false;

Expand All @@ -35,7 +35,7 @@ protected function getDefaultOptions()

/**
* Activate/deactivate drawing of bearer bars
* @param boolean $value
* @param bool $value
* @return Code25
*/
public function setWithBearerBars($value)
Expand All @@ -46,7 +46,7 @@ public function setWithBearerBars($value)

/**
* Retrieve if bearer bars are enabled
* @return boolean
* @return bool
*/
public function getWithBearerBars()
{
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Barcode/Object/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Error extends AbstractObject
/**
* All texts are accepted
* @param string $value
* @return boolean
* @return bool
*/
public function validateText($value)
{
Expand Down
Loading

0 comments on commit c000eba

Please sign in to comment.