| @@ -58,7 +58,7 @@ | ||
| 58 | 58 | */ | 
| 59 | 59 | public function getErrorsAsStrings() | 
| 60 | 60 |      { | 
| 61 | -        return array_map(function (ValidationError $error) { | |
| 61 | +        return array_map(function(ValidationError $error) { | |
| 62 | 62 | return (string) $error; | 
| 63 | 63 | }, $this->errors); | 
| 64 | 64 | } | 
| @@ -213,7 +213,7 @@ | ||
| 213 | 213 | case ScimConstants::ATTRIBUTE_TYPE_BOOLEAN: return is_bool($value); | 
| 214 | 214 | case ScimConstants::ATTRIBUTE_TYPE_DECIMAL: return is_float($value) || is_int($value); | 
| 215 | 215 | case ScimConstants::ATTRIBUTE_TYPE_INTEGER: return is_int($value); | 
| 216 | - case ScimConstants::ATTRIBUTE_TYPE_DATETIME: return $value instanceof \DateTime; // improve this | |
| 216 | + case ScimConstants::ATTRIBUTE_TYPE_DATETIME: return $value instanceof \DateTime; // improve this | |
| 217 | 217 | case ScimConstants::ATTRIBUTE_TYPE_BINARY: return true; | 
| 218 | 218 | case ScimConstants::ATTRIBUTE_TYPE_REFERENCE: return is_string($value); // improve this | 
| 219 | 219 | case ScimConstants::ATTRIBUTE_TYPE_COMPLEX: return is_array($value) || is_object($value); | 
| @@ -1,8 +1,8 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | |
| 3 | 3 | // if library is in dev environement with its own vendor, include its autoload | 
| 4 | -if(file_exists(__DIR__ . '/vendor')) | |
| 5 | - require_once __DIR__ . '/vendor/autoload.php'; | |
| 4 | +if (file_exists(__DIR__.'/vendor')) | |
| 5 | + require_once __DIR__.'/vendor/autoload.php'; | |
| 6 | 6 | // if library is in vendor of another project, include the global autolaod | 
| 7 | 7 | else | 
| 8 | - require_once __DIR__ . '/../../autoload.php'; | |
| 8 | + require_once __DIR__.'/../../autoload.php'; | |