Skip to content

Commit

Permalink
Fixed casting char into another of a different type
Browse files Browse the repository at this point in the history
See: #1988
  • Loading branch information
sergeyklay committed Nov 2, 2019
1 parent e5e02c7 commit 4b28564
Show file tree
Hide file tree
Showing 4 changed files with 341 additions and 101 deletions.
4 changes: 2 additions & 2 deletions Library/Expression.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,9 @@ public function emptyArray($expression, CompilationContext $compilationContext)
*
* @throws CompilerException|Exception
*
* @return bool|CompiledExpression
* @return CompiledExpression
*/
public function compile(CompilationContext $compilationContext)
public function compile(CompilationContext $compilationContext): CompiledExpression
{
$expression = $this->expression;
$type = $expression['type'];
Expand Down
Loading

0 comments on commit 4b28564

Please sign in to comment.