Failed Conditions
Pull Request — develop (#6936)
by Michael
62:55
created
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC618Test.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -155,6 +155,9 @@  discard block
 block discarded – undo
155 155
         $this->books = new \Doctrine\Common\Collections\ArrayCollection;
156 156
     }
157 157
 
158
+    /**
159
+     * @param string $title
160
+     */
158 161
     public function addBook($title)
159 162
     {
160 163
         $book = new DDC618Book($title, $this);
@@ -179,6 +182,9 @@  discard block
 block discarded – undo
179 182
     /** @ORM\ManyToOne(targetEntity=DDC618Author::class, inversedBy="books") */
180 183
     public $author;
181 184
 
185
+    /**
186
+     * @param DDC618Author $author
187
+     */
182 188
     function __construct($title, $author)
183 189
     {
184 190
         $this->title = $title;
Please login to merge, or discard this patch.