[ClassLoader] Cast $useIncludePath property to boolean
This commit is contained in:
parent
ef0bf427b5
commit
32001a44a1
@ -107,7 +107,7 @@ class ClassLoader
|
|||||||
*/
|
*/
|
||||||
public function setUseIncludePath($useIncludePath)
|
public function setUseIncludePath($useIncludePath)
|
||||||
{
|
{
|
||||||
$this->useIncludePath = $useIncludePath;
|
$this->useIncludePath = (bool) $useIncludePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -74,7 +74,7 @@ class UniversalClassLoader
|
|||||||
*/
|
*/
|
||||||
public function useIncludePath($useIncludePath)
|
public function useIncludePath($useIncludePath)
|
||||||
{
|
{
|
||||||
$this->useIncludePath = $useIncludePath;
|
$this->useIncludePath = (bool) $useIncludePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user