Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix(#74): deprecation warning removed
  • Loading branch information
roelfsche authored Jan 15, 2024
commit 305e8f7cf8656b39e0e6bebbce16fd5b99fb3c8c
2 changes: 1 addition & 1 deletion src/Syntax/Column.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public function getAlias()
*/
public function setAlias($alias)
{
if (0 == \strlen($alias)) {
if (empty($alias) || 0 == \strlen($alias)) {
$this->alias = null;

return $this;
Expand Down