Browse Source

Correction Type Hint

Mael ETIENNE 3 years ago
parent
commit
f55eedfdf2
1 changed files with 4 additions and 5 deletions
  1. 4
    5
      Entity/Scorm2004/Scorm2004MapTrackObjective.php

+ 4
- 5
Entity/Scorm2004/Scorm2004MapTrackObjective.php View File

@@ -74,8 +74,7 @@ class Scorm2004MapTrackObjective
74 74
     protected $scorm2004Track;
75 75
 
76 76
     /**
77
-     * @ORM\ManyToOne(targetEntity="Scorm2004Objective", inversedBy="scorm2004MapTrackObjectives")
78
-     * @ORM\JoinColumn(name="objective_fk", referencedColumnName="objective_id", nullable=false)
77
+     * @var string
79 78
      */
80 79
     protected $scorm2004Objective;
81 80
 
@@ -293,10 +292,10 @@ class Scorm2004MapTrackObjective
293 292
     /**
294 293
      * Set Scorm2004Objective entity (many to one).
295 294
      *
296
-     * @param Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004Objective $scorm2004Objective
295
+     * @param string $scorm2004Objective
297 296
      * @return Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004MapTrackObjective
298 297
      */
299
-    public function setScorm2004Objective(Scorm2004Objective $scorm2004Objective = null)
298
+    public function setScorm2004Objective(string $scorm2004Objective = null)
300 299
     {
301 300
         $this->scorm2004Objective = $scorm2004Objective;
302 301
 
@@ -306,7 +305,7 @@ class Scorm2004MapTrackObjective
306 305
     /**
307 306
      * Get Scorm2004Objective entity (many to one).
308 307
      *
309
-     * @return Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004Objective
308
+     * @return string
310 309
      */
311 310
     public function getScorm2004Objective()
312 311
     {

Loading…
Cancel
Save