@@ -74,6 +74,8 @@ discard block |
||
74 | 74 | |
75 | 75 | /** |
76 | 76 | * {@inheritdoc} |
77 | + * @param integer $option |
|
78 | + * @param integer $value |
|
77 | 79 | */ |
78 | 80 | public function hasOption($option, $value = null) |
79 | 81 | { |
@@ -98,6 +100,7 @@ discard block |
||
98 | 100 | |
99 | 101 | /** |
100 | 102 | * {@inheritdoc} |
103 | + * @param integer $option |
|
101 | 104 | */ |
102 | 105 | public function removeOption($option) |
103 | 106 | { |
@@ -113,6 +116,10 @@ discard block |
||
113 | 116 | |
114 | 117 | $this->options = array_filter( |
115 | 118 | $this->options, |
119 | + |
|
120 | + /** |
|
121 | + * @param integer $transportOption |
|
122 | + */ |
|
116 | 123 | function ($transportOption) use ($option) { |
117 | 124 | /* @var OptionInterface $transportOption */ |
118 | 125 | return !($transportOption->getOption() === $option); |