Skip to content

Commit 2ab996e

Browse files
authored
Merge pull request #7 from Rudloff/patch-1
Use correct callable type instead of callback
2 parents 6d17191 + ee78f4f commit 2ab996e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Smarty.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function addSlimPlugins(RouterInterface $router, $uri)
8383
*
8484
* @param string $type plugin type
8585
* @param string $tag name of template tag
86-
* @param callback $callback PHP callback to register
86+
* @param callable $callback PHP callback to register
8787
* @param boolean $cacheable if true (default) this function is cachable
8888
* @param array $cache_attr caching attributes if any
8989
*

0 commit comments

Comments
 (0)