Skip to content

Commit

Permalink
Boarding pass transitType serialization bug fixed fixes#16
Browse files Browse the repository at this point in the history
  • Loading branch information
eymengunay committed Mar 28, 2014
1 parent 2659446 commit 79171b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Passbook/Type/BoardingPass.php
Expand Up @@ -86,7 +86,7 @@ public function __construct($serialNumber, $description, $transitType = self::TY
public function toArray()
{
$array = parent::toArray();
$array['transitType'] = $this->transitType;
$array[$this->getType()]['transitType'] = $this->transitType;

return $array;
}
Expand Down

0 comments on commit 79171b1

Please sign in to comment.