Sfoglia il codice sorgente

Simplify Rule->getJob()

Markus Staab 6 anni fa
parent
commit
05499099a0
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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);