diff --git a/src/Callback.php b/src/Callback.php index 9a8e3d17..650850ea 100644 --- a/src/Callback.php +++ b/src/Callback.php @@ -92,8 +92,8 @@ public function getCallbackParams() /** * Calls the filter per callback * - * @param mixed $value Options for the set callback - * @return mixed Result from the filter which was callbacked + * @param mixed $value Options for the set callable + * @return mixed Result from the filter which was called */ public function filter($value) { diff --git a/src/FilterChain.php b/src/FilterChain.php index 1246f737..e9a0ac16 100644 --- a/src/FilterChain.php +++ b/src/FilterChain.php @@ -139,7 +139,7 @@ public function plugin($name, array $options = array()) /** * Attach a filter to the chain * - * @param callback|FilterInterface $callback A Filter implementation or valid PHP callback + * @param callable|FilterInterface $callback A Filter implementation or valid PHP callback * @param int $priority Priority at which to enqueue filter; defaults to 1000 (higher executes earlier) * @return FilterChain */