1
0
Fork 0

remove pass by reference

Dieser Commit ist enthalten in:
Ortwin Pinke 2025-06-26 20:07:27 +02:00
Ursprung 2f80a087f9
Commit f8d1a613c4

Datei anzeigen

@ -63,7 +63,7 @@ class cSmartyFrontend {
* @throws cInvalidArgumentException if the given configurations are not an
* array
*/
public function __construct(&$aCfg, &$aClientCfg, $bSanityCheck = false) {
public function __construct($aCfg, $aClientCfg, $bSanityCheck = false) {
// check if already instanciated
if (isset(self::$bSmartyInstanciated) && self::$bSmartyInstanciated) {
throw new Exception("cSmartyFrontend class is intended to be used as singleton. Do not instanciate multiple times.");