-
Posts
8 -
Joined
-
Last visited
Posts posted by konti1337
-
-
La 09.09.2018 la 12:30, MrTuNNe.Info a spus:
Inlocuieste
if ($this->isDirty() && ($options['touch'] ?? true)) {
cu
if ($this->isDirty() && $options['touch'] == true) {
Ok, o sa incerc,
-
Cineva ?
-
-
Sa vedem
-
-
-
Salut, am eroarea data :
PHP Parse error: syntax error, unexpected '?'
la linia :
protected function finishSave(array $options)
{
$this->fireModelEvent('saved', false);if ($this->isDirty() && ($options['touch'] ?? true)) {
$this->touchOwners();
}$this->syncOriginal();
}
Problema PHP
in Problems (Warnings, Errors)
Posted
Acum am alta problema : Parse error: syntax error, unexpected '?'
protected function getKeyForSaveQuery()
{
return $this->original[$this->getKeyName()]
?? $this->getKey();
}