mirror of
https://github.com/composer/composer
synced 2025-05-10 09:02:59 +00:00
Improvements
Small improvements, such as remove unused imports, unecessaries casts, parentheses, etc.
This commit is contained in:
parent
0c6201de3e
commit
7d9f8e2247
18 changed files with 18 additions and 25 deletions
|
@ -93,7 +93,7 @@ class Rule2Literals extends Rule
|
|||
*/
|
||||
public function __toString()
|
||||
{
|
||||
$result = ($this->isDisabled()) ? 'disabled(' : '(';
|
||||
$result = $this->isDisabled() ? 'disabled(' : '(';
|
||||
|
||||
$result .= $this->literal1 . '|' . $this->literal2 . ')';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue