From 553086ae3dd755098215b7ca01373bd41553290c Mon Sep 17 00:00:00 2001 From: Adam Pancutt Date: Tue, 15 Oct 2013 13:17:07 +0100 Subject: [PATCH] Removed check for instantiated options array --- lib/Doctrine/ORM/Mapping/Builder/FieldBuilder.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/Doctrine/ORM/Mapping/Builder/FieldBuilder.php b/lib/Doctrine/ORM/Mapping/Builder/FieldBuilder.php index 9b1f1aea6..920899b11 100644 --- a/lib/Doctrine/ORM/Mapping/Builder/FieldBuilder.php +++ b/lib/Doctrine/ORM/Mapping/Builder/FieldBuilder.php @@ -163,9 +163,6 @@ class FieldBuilder */ public function option($name, $value) { - if ( ! array_key_exists('options', $this->mapping)) { - $this->mapping['options'] = array(); - } $this->mapping['options'][$name] = $value; return $this; }