mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-16 00:36:20 +00:00
:octocat: +backslashes for built-in functions
This commit is contained in:
@@ -56,7 +56,7 @@ class MaskPatternTester{
|
||||
$penalty = 0;
|
||||
|
||||
for($level = 1; $level <= 4; $level++){
|
||||
$penalty += call_user_func([$this, 'testLevel'.$level]);
|
||||
$penalty += \call_user_func([$this, 'testLevel'.$level]);
|
||||
}
|
||||
|
||||
return (int)$penalty;
|
||||
@@ -212,7 +212,7 @@ class MaskPatternTester{
|
||||
}
|
||||
}
|
||||
|
||||
return (abs(100 * $count / $this->moduleCount / $this->moduleCount - 50) / 5) * 10;
|
||||
return (\abs(100 * $count / $this->moduleCount / $this->moduleCount - 50) / 5) * 10;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user