diff --git a/Math/Matrix/Vector.php b/Math/Matrix/Vector.php index 90967100f..b45fca34c 100644 --- a/Math/Matrix/Vector.php +++ b/Math/Matrix/Vector.php @@ -3,7 +3,7 @@ namespace phpOMS\Math\Matrix; class Vector extends Matrix { - public function __constrcut(int $m) + public function __construct(int $m) { parent::__construct($m); } diff --git a/System/File/Directory.php b/System/File/Directory.php index ad6747514..673fb4631 100644 --- a/System/File/Directory.php +++ b/System/File/Directory.php @@ -64,7 +64,7 @@ class Directory extends FileAbstract implements \Iterator, \ArrayAccess public function __construct(string $path, string $filter = '*') { $this->filter = $filter; - parent::__constrct($path); + parent::__construct($path); if(file_exists($this->path)) { parent::index(); diff --git a/System/File/File.php b/System/File/File.php index a3a8c7966..f72271023 100644 --- a/System/File/File.php +++ b/System/File/File.php @@ -48,7 +48,7 @@ class File extends FileAbstract public function __construct(string $path) { - parent::__constrct($path); + parent::__construct($path); $this->count = 1; if(file_exists($this->path)) { diff --git a/Utils/Barcode/C25.php b/Utils/Barcode/C25.php index 37322881b..c29cde40f 100644 --- a/Utils/Barcode/C25.php +++ b/Utils/Barcode/C25.php @@ -115,6 +115,7 @@ class C25 extends C128Abstract $codeString = ''; $length = strlen($this->content); $arrayLength = count(self::$CODEARRAY); + $temp = []; for ($posX = 1; $posX <= $length; $posX++) { for ($posY = 0; $posY < $arrayLength; $posY++) { diff --git a/Utils/Barcode/Datamatrix.php b/Utils/Barcode/Datamatrix.php index ae9806674..0adc98f96 100644 --- a/Utils/Barcode/Datamatrix.php +++ b/Utils/Barcode/Datamatrix.php @@ -1,5 +1,5 @@