remove pass by reference
Dieser Commit ist enthalten in:
Ursprung
2f80a087f9
Commit
f8d1a613c4
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -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.");
|
||||
|
|
Laden …
In neuem Issue referenzieren