Skip to content

Commit 9511cee

Browse files
committed
Merge branch '1.11.x' of github.com:chamilo/chamilo-lms into 1.11.x
2 parents 4fead7c + 2d12af3 commit 9511cee

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

main/inc/lib/certificate.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ public function generateQRImage($text, $path)
518518
$qrCode->setSize(120);
519519
$qrCode->setMargin(5);
520520
$qrCode->setWriterByName('png');
521-
$qrCode->setErrorCorrectionLevel(ErrorCorrectionLevel::MEDIUM());
521+
$qrCode->setErrorCorrectionLevel(ErrorCorrectionLevel::MEDIUM);
522522
$qrCode->setForegroundColor(['r' => 0, 'g' => 0, 'b' => 0, 'a' => 0]);
523523
$qrCode->setBackgroundColor(['r' => 255, 'g' => 255, 'b' => 255, 'a' => 0]);
524524
$qrCode->setValidateResult(false);

main/inc/lib/system/session.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public function offsetExists($offset): bool
138138
#if PHP_VERSION_ID >= 80000
139139
#[\ReturnTypeWillChange]
140140
#endif
141-
public function offsetGet($offset): mixed
141+
public function offsetGet($offset)
142142
{
143143
return self::read($offset);
144144
}

src/Chamilo/UserBundle/Entity/User.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
use Doctrine\ORM\Mapping as ORM;
1515
use FOS\UserBundle\Model\GroupInterface;
1616
use FOS\UserBundle\Model\UserInterface;
17+
use ReflectionClass;
1718
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
1819
use Symfony\Component\HttpFoundation\File\File;
1920
use Symfony\Component\Validator\Constraints as Assert;

0 commit comments

Comments
 (0)