Fix strict notices for PHP 5.4

This commit is contained in:
Julio Cesar Laura
2014-10-13 16:46:18 -04:00
parent 7fa2ada956
commit 56528e0182

View File

@@ -1403,7 +1403,7 @@ class G
*
* @return string $ret
*/
public function getformatedDate ($date, $format = 'yyyy-mm-dd', $lang = '')
public static function getformatedDate ($date, $format = 'yyyy-mm-dd', $lang = '')
{
/**
* ******************************************************************************************************
@@ -1528,7 +1528,7 @@ class G
* @author Erik Amaru Ortiz <erik@colosa.com>
* @name complete_field($string, $lenght, $type={1:number/2:string/3:float})
*/
public function complete_field ($campo, $long, $tipo)
public static function complete_field ($campo, $long, $tipo)
{
$campo = trim( $campo );
switch ($tipo) {