Skip to content
Code-Schnipsel Gruppen Projekte
Commit 714ac663 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

Merge branch 'dev' into 'master'

fix: PHP Fatal error:  Uncaught TypeError: QUI\ERP\Comments::__construct():...

See merge request !7
Übergeordnete 0bdd660b 9e1b2fe0
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
2 Merge Requests!140Update 'next-4.x' with latest changes from 'main',!7fix: PHP Fatal error: Uncaught TypeError: QUI\ERP\Comments::__construct():...
......@@ -36,11 +36,11 @@ class Comments
/**
* Comments constructor.
*
* @param array $comments
* @param array|null $comments
*/
public function __construct(array $comments = [])
public function __construct(?array $comments = [])
{
if (!$comments) {
if (!$comments || !is_array($comments)) {
return;
}
......
0% Lade oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren