Browse Source

Merge branch '1.11.x' of github.com:chamilo/chamilo-lms into 1.11.x

Angel Fernando Quiroz Campos 8 years ago
parent
commit
aee5e99740

+ 1 - 1
main/inc/lib/pear/PEAR.php

@@ -863,7 +863,7 @@ class PEAR_Error
      * @access public
      *
      */
-    public function __constructor(
+    public function __construct(
         $message = 'unknown error',
         $code = null,
         $mode = null,

+ 2 - 2
src/Chamilo/CourseBundle/Entity/CLpItem.php

@@ -198,9 +198,9 @@ class CLpItem
     private $prerequisiteMaxScore;
 
     /**
-     * Constructor
+     * CLpItem constructor.
      */
-    public function __constructor()
+    public function __construct()
     {
         $this->maxScore = 100;
     }

+ 2 - 2
src/Chamilo/CourseBundle/Entity/CLpItemView.php

@@ -122,9 +122,9 @@ class CLpItemView
     private $maxScore;
 
     /**
-     * Constructor
+     * CLpItemView constructor.
      */
-    public function __constructor()
+    public function __construct()
     {
         $this->status = 'not attempted';
         $this->coreExit = 'none';