Permalink
Browse files

Fixed indentations

  • Loading branch information...
ruudk committed Mar 8, 2012
1 parent c4bdee4 commit 39efae297126f94896068497df78df0ec5f4a6a8
Showing with 5 additions and 5 deletions.
  1. +1 −1 Metadata/Driver/AnnotationDriver.php
  2. +3 −3 Serializer/GraphNavigator.php
  3. +1 −1 Tests/Fixtures/AuthorReadOnly.php
@@ -124,7 +124,7 @@ public function loadMetadataForClass(\ReflectionClass $class)
$propertyMetadata->setGroups($annot->names);
} else if ($annot instanceof Inline) {
$propertyMetadata->inline = true;
- } else if ($annot instanceof ReadOnly) {
+ } else if ($annot instanceof ReadOnly) {
$propertyMetadata->readOnly = true;
}
}
@@ -114,9 +114,9 @@ public function accept($data, $type, VisitorInterface $visitor)
continue;
}
- if (self::DIRECTION_DESERIALIZATION === $this->direction && $propertyMetadata->readOnly) {
- continue;
- }
+ if (self::DIRECTION_DESERIALIZATION === $this->direction && $propertyMetadata->readOnly) {
+ continue;
+ }
// try custom handler
if (!$visitor->visitPropertyUsingCustomHandler($propertyMetadata, $data)) {
@@ -44,7 +44,7 @@ public function __construct($id, $name)
$this->name = $name;
}
- public function getId()
+ public function getId()
{
return $this->id;
}

0 comments on commit 39efae2

Please sign in to comment.