Skip to content

Commit

Permalink
Update BannerHelper.php
Browse files Browse the repository at this point in the history
Deprecate isImage
  • Loading branch information
obuisard committed Sep 21, 2023
1 parent 642f147 commit 7ca741b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/com_banners/src/Helper/BannerHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ abstract class BannerHelper
* @return boolean True if an image of type bmp, gif, jp(e)g, png or webp, false otherwise
*
* @since 1.6
*
* @deprecated 5.1 will be removed in 7.0
* Use MediaHelper::isImage($url) instead
*/
public static function isImage($url)
{
Expand Down

0 comments on commit 7ca741b

Please sign in to comment.