Skip to content

Commit

Permalink
* Update phpThumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
denysdesign committed Oct 2, 2022
1 parent b1d4ad3 commit 017e250
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
basedir=".">

<property name="VERSION"
value="4.9" />
value="5.0" />
<property name="build"
value="build" />
<property name="temp"
Expand Down
24 changes: 12 additions & 12 deletions src/Image.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* @since 4.0
* @since 5.0
* @subpackage Class
*
* @author Denys D. Nosov ([email protected])
Expand All @@ -18,7 +18,7 @@
/**
* JUImage library for render thumbs
*
* @since 4.0
* @since 5.0
*/
class Image
{
Expand All @@ -39,7 +39,7 @@ class Image
*
* @param array $config
*
* @since 4.0
* @since 5.0
*/
public function __construct(array $config = [])
{
Expand All @@ -54,7 +54,7 @@ public function __construct(array $config = [])
* @return object|string
* @return object|string
*
* @since 4.0
* @since 5.0
*/
public function render($url, array $attr = [])
{
Expand All @@ -76,7 +76,7 @@ public function render($url, array $attr = [])
*
* @return object|bool
*
* @since 4.0
* @since 5.0
*/
public function size($img_path)
{
Expand All @@ -98,7 +98,7 @@ public function size($img_path)
* @param array $attr
*
* @return string
* @since 4.0
* @since 5.0
*/
private function thumb($url, array $attr = [])
{
Expand Down Expand Up @@ -236,7 +236,7 @@ private function thumb($url, array $attr = [])
*
* @return string
*
* @since 4.0
* @since 5.0
*/
private function createThumb($url, $img_cache, $target, array $attr = [])
{
Expand Down Expand Up @@ -345,7 +345,7 @@ private function createThumb($url, $img_cache, $target, array $attr = [])
*
* @return bool|string
* @return bool|string
* @since 4.0
* @since 5.0
*/
private function createVideoThumb($url, $video_detect = false)
{
Expand Down Expand Up @@ -400,7 +400,7 @@ private function createVideoThumb($url, $video_detect = false)
*
* @return string
*
* @since 4.0
* @since 5.0
*/
private function youtube($id)
{
Expand All @@ -424,7 +424,7 @@ private function youtube($id)
*
* @return false
*
* @since 4.0
* @since 5.0
*/
private function vimeo($id)
{
Expand All @@ -442,7 +442,7 @@ private function vimeo($id)
* @param $dir
*
* @return bool
* @since 4.0
* @since 5.0
*/
private function makeDir($dir)
{
Expand All @@ -464,7 +464,7 @@ private function makeDir($dir)
*
* @return bool|string
*
* @since 4.0
* @since 5.0
*/
private function http($url)
{
Expand Down

0 comments on commit 017e250

Please sign in to comment.