Browse Source

Merge pull request #7480 from staabm/patch-3

Simplify Rule->getJob()
Jordi Boggiano 6 years ago
parent
commit
0d92c8df63
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Composer/DependencyResolver/Rule.php

+ 1 - 1
src/Composer/DependencyResolver/Rule.php

@@ -68,7 +68,7 @@ abstract class Rule
 
     public function getJob()
     {
-        return isset($this->job) ? $this->job : null;
+        return $this->job;
     }
 
     abstract public function equals(Rule $rule);