From 20f04c676991289e59c9d637a81ab3a63b8537a6 Mon Sep 17 00:00:00 2001 From: Matthew Weier O'Phinney Date: Wed, 23 Oct 2013 13:40:28 -0500 Subject: [PATCH] [zendframework/zf2#5272] Grammar cleanup - Updated docblocks to use better grammatical phrasing. --- src/Adapter/Callback.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Adapter/Callback.php b/src/Adapter/Callback.php index 48219b2..3d9ba63 100644 --- a/src/Adapter/Callback.php +++ b/src/Adapter/Callback.php @@ -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 */ @@ -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) { @@ -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 @@ -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 */