-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[2.6] CS Fixes And Removed An Unused Import #12872
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,25 +41,25 @@ class ExpressionFunction | |
* @param callable $compiler A callable able to compile the function | ||
* @param callable $evaluator A callable able to evaluate the function | ||
*/ | ||
public function __construct($name, $compiler, $evaluator) | ||
{ | ||
$this->name = $name; | ||
$this->compiler = $compiler; | ||
$this->evaluator = $evaluator; | ||
} | ||
public function __construct($name, $compiler, $evaluator) | ||
{ | ||
$this->name = $name; | ||
$this->compiler = $compiler; | ||
$this->evaluator = $evaluator; | ||
} | ||
|
||
public function getName() | ||
{ | ||
return $this->name; | ||
} | ||
public function getName() | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This also needs to be applied to the constructor. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's odd. I'll report this bug to the php-cs-fixer repo. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Manually fixed this. Thanks for pointing this out @xabbuh. |
||
{ | ||
return $this->name; | ||
} | ||
|
||
public function getCompiler() | ||
{ | ||
return $this->compiler; | ||
} | ||
public function getCompiler() | ||
{ | ||
return $this->compiler; | ||
} | ||
|
||
public function getEvaluator() | ||
{ | ||
return $this->evaluator; | ||
} | ||
public function getEvaluator() | ||
{ | ||
return $this->evaluator; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks weird?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, that's now it's meant to look? Either that, or we shunt it all onto one line?