Skip to content

Commit 305e8f7

Browse files
authored
fix(nilportugues#74): deprecation warning removed
1 parent baf1527 commit 305e8f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Syntax/Column.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function getAlias()
112112
*/
113113
public function setAlias($alias)
114114
{
115-
if (0 == \strlen($alias)) {
115+
if (empty($alias) || 0 == \strlen($alias)) {
116116
$this->alias = null;
117117

118118
return $this;

0 commit comments

Comments
 (0)