@@ 95-106 (lines=12) @@ | ||
92 | /** |
|
93 | * @inheritdoc |
|
94 | */ |
|
95 | public function parseInflatorVersion($output) |
|
96 | { |
|
97 | $chunks = explode(' ', $output, 3); |
|
98 | ||
99 | if (2 > count($chunks)) { |
|
100 | return null; |
|
101 | } |
|
102 | ||
103 | list(, $version) = explode(' ', $output, 3); |
|
104 | ||
105 | return $version; |
|
106 | } |
|
107 | ||
108 | /** |
|
109 | * @inheritdoc |
@@ 78-89 (lines=12) @@ | ||
75 | /** |
|
76 | * @inheritdoc |
|
77 | */ |
|
78 | public function parseInflatorVersion($output) |
|
79 | { |
|
80 | $chunks = explode(' ', $output, 3); |
|
81 | ||
82 | if (2 > count($chunks)) { |
|
83 | return null; |
|
84 | } |
|
85 | ||
86 | list(, $version) = $chunks; |
|
87 | ||
88 | return $version; |
|
89 | } |
|
90 | ||
91 | /** |
|
92 | * @inheritdoc |