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

Commit

Permalink
Browse files Browse the repository at this point in the history
- Updated docblocks to use better grammatical phrasing.
  • Loading branch information
weierophinney committed Oct 23, 2013
1 parent 9a939ea commit 20f04c6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Adapter/Callback.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
class Callback implements AdapterInterface
{
/**
* Callback to be runned to get the items for a page.
* Callback to be executed to retrieve the items for a page.
*
* @var CallbackHandler
*/
protected $itemsCallback;

/**
* Callback to be runned to get the total number of items.
* Callback to be executed to retrieve the total number of items.
*
* @var CallbackHandler
*/
Expand All @@ -30,8 +30,8 @@ class Callback implements AdapterInterface
/**
* Constructs instance.
*
* @param CallbackHandler|callable $itemsCallback Callback to be runned to get the items for a page.
* @param CallbackHandler|callable $countCallback Callback to be runned to get the total number of items.
* @param CallbackHandler|callable $itemsCallback Callback to be executed to retrieve the items for a page.
* @param CallbackHandler|callable $countCallback Callback to be executed to retrieve the total number of items.
*/
public function __construct($itemsCallback, $countCallback)
{
Expand All @@ -50,7 +50,7 @@ public function __construct($itemsCallback, $countCallback)
/**
* Returns an array of items for a page.
*
* Runs the callback defined as first constructor's argument.
* Executes the {$itemsCallback}.
*
* @param int $offset Page offset
* @param int $itemCountPerPage Number of items per page
Expand All @@ -64,7 +64,7 @@ public function getItems($offset, $itemCountPerPage)
/**
* Returns the total number of items.
*
* Runs the callback defined as second constructor's argument.
* Executes the {$countCallback}.
*
* @return int
*/
Expand Down

0 comments on commit 20f04c6

Please sign in to comment.