1
0
mirror of https://github.com/Intervention/image.git synced 2025-02-06 22:00:38 +01:00

added missing docblock

This commit is contained in:
Oliver Vogel 2014-07-26 11:29:58 +02:00
parent 2d69ff5a5d
commit 907306ce1b

View File

@ -205,6 +205,12 @@ class Argument
return $this;
}
/**
* Checks if value is "PHP" integer (120 but also 120.0)
*
* @param mixed $value
* @return boolean
*/
private function isDigit($value)
{
return is_numeric($value) ? intval($value) == $value : false;