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

Commit

Permalink
Merge pull request zendframework/zendframework#2135 from Thinkscape/h…
Browse files Browse the repository at this point in the history
…otfix/callable-not-callback

Change all 'callback' typehints to 'callable'
  • Loading branch information
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Collection/DefaultIterator.php
Expand Up @@ -57,7 +57,7 @@ class DefaultIterator implements \Iterator, \Countable
/**
* The method that will be applied to the attribute's names.
*
* @var integer|callback
* @var integer|callable
*/
protected $attributeNameTreatment = self::ATTRIBUTE_TO_LOWER;

Expand Down Expand Up @@ -120,7 +120,7 @@ public function getLDAP()
* or a valid callback accepting the attribute's name as it's only
* argument and returning the new attribute's name.
*
* @param integer|callback $attributeNameTreatment
* @param integer|callable $attributeNameTreatment
* @return DefaultIterator Provides a fluent interface
*/
public function setAttributeNameTreatment($attributeNameTreatment)
Expand Down Expand Up @@ -155,7 +155,7 @@ public function setAttributeNameTreatment($attributeNameTreatment)
/**
* Returns the currently set attribute name treatment
*
* @return integer|callback
* @return integer|callable
*/
public function getAttributeNameTreatment()
{
Expand Down

0 comments on commit 639695d

Please sign in to comment.