Some code style fixes

This commit is contained in:
Den
2021-04-16 18:50:36 +03:00
committed by Fabien Potencier
parent 32d72de188
commit 17c6371fb5
10 changed files with 13 additions and 14 deletions
+1 -1
View File
@@ -193,7 +193,7 @@ class Parser
public function peekBlockStack()
{
return isset($this->blockStack[\count($this->blockStack) - 1]) ? $this->blockStack[\count($this->blockStack) - 1] : null;
return $this->blockStack[\count($this->blockStack) - 1] ?? null;
}
public function popBlockStack(): void