diff --git a/flextype/Cache.php b/flextype/Cache.php index 9519cb4b..5b7e306a 100755 --- a/flextype/Cache.php +++ b/flextype/Cache.php @@ -248,7 +248,7 @@ class Cache * @access public * @param string $id The cache id. * @param mixed $data The cache entry/data. - * @param int $lifeTime The lifetime in number of seconds for this cache entry. + * @param int $lifetime The lifetime in number of seconds for this cache entry. * If zero (the default), the entry never expires (although it may be deleted from the cache * to make place for other entries). */ diff --git a/flextype/Entries.php b/flextype/Entries.php index c18c28b3..9e69769b 100755 --- a/flextype/Entries.php +++ b/flextype/Entries.php @@ -149,9 +149,9 @@ class Entries * $entry = Entries::getEntry('projects'); * * @access public - * @param string $url Page url - * @param bool $raw Raw or not raw content - * @param bool $hidden Get hidden entries + * @param string $url Page url. + * @param bool $raw Parse content or raw content without parsing. + * @param bool $hidden Get hidden entries. * @return array|string */ public static function getEntry(string $url = '', bool $raw = false, bool $hidden = false) @@ -206,11 +206,13 @@ class Entries * $entries = Entries::getEntries('projects', false, 'date', 'DESC'); * * @access public - * @param string $url Page url - * @param bool $raw Raw or not raw content - * @param string $order_by Order type - * @param int $offset Offset - * @param int $length Length + * @param string $url Page url. + * @param string $order_by Order by specific entry field. + * @param string $order_type Order type: DESC or ASC + * @param int $offset Offset + * @param int $length Length + * @param bool $multilevel Get nested entries or not. + * @param bool $raw Parse content or raw content without parsing. * @return array */ public static function getEntries(string $url = '', string $order_by = 'date', string $order_type = 'DESC', int $offset = null, int $length = null, bool $multilevel = false, bool $raw = false) : array diff --git a/flextype/Images.php b/flextype/Images.php index 2b97c267..33c93358 100644 --- a/flextype/Images.php +++ b/flextype/Images.php @@ -214,7 +214,7 @@ class Images * @access public * @param string $path Image path * @param array $params Image params - * @return string Returns the image url + * @return string */ public static function getImageUrl($path, array $params) { @@ -232,9 +232,10 @@ class Images * http://glide.thephpleague.com/1.0/api/quick-reference/ * * @access public - * @param string $path Image path - * @param array $params Image params - * @return string Returns the image url + * @param string $path Image path + * @param array $params Image params + * @param array $attributes Image html attributes + * @return string */ public static function getImage($path, array $params, array $attributes = []) { diff --git a/flextype/Themes.php b/flextype/Themes.php index e793b95d..178ede05 100644 --- a/flextype/Themes.php +++ b/flextype/Themes.php @@ -198,6 +198,11 @@ class Themes /** * _strrevpos + * + * @param string $instr instr + * @param string $needle needle + * + * @return bool */ private static function _strrevpos($instr, $needle) {