use logger.info to display command line result

This commit is contained in:
wing328
2016-01-28 11:25:11 +08:00
parent 16f9c8f7dd
commit f8b82e14fe
3 changed files with 3 additions and 3 deletions

View File

@@ -153,7 +153,7 @@ class ObjectSerializer
*/
public function toFormValue($value)
{
if ($value instanceof SplFileObject) {
if ($value instanceof \SplFileObject) {
return $value->getRealPath();
} else {
return $this->toString($value);