Skip to content

Commit

Permalink
Merge pull request #11733 from MathiasReker/s5
Browse files Browse the repository at this point in the history
Add function type
  • Loading branch information
jolelievre committed Dec 12, 2018
2 parents 5771830 + 4d78857 commit 182bbce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions admin-dev/filemanager/include/php_image_magician.php
Expand Up @@ -198,7 +198,7 @@ class imageLib

## --------------------------------------------------------

function __construct($fileName)
public function __construct($fileName)
# Author: Jarrod Oberto
# Date: 27-02-08
# Purpose: Constructor
Expand Down Expand Up @@ -2901,7 +2901,7 @@ protected function formatColor($value)

## --------------------------------------------------------

function hex2dec($hex)
public function hex2dec($hex)
# Purpose: Convert #hex color to RGB
{
$color = str_replace('#', '', $hex);
Expand Down Expand Up @@ -3046,7 +3046,7 @@ private function transparentImage($src)

## --------------------------------------------------------

function checkStringStartsWith($needle, $haystack)
public function checkStringStartsWith($needle, $haystack)
# Check if a string starts with a specific pattern
{
return (substr($haystack, 0, strlen($needle))==$needle);
Expand Down
Expand Up @@ -63,7 +63,7 @@ class ModuleTabRegisterTest extends UnitTestCase
'doge' => array('Wololo', 'AdminMissing', 'AdminMy'),
);

protected $languages = array(
protected $languages = array(
array(
"id_lang" => 1,
"name" => "Français (French)",
Expand Down

0 comments on commit 182bbce

Please sign in to comment.