@@ -175,10 +175,12 @@ |
||
175 | 175 | |
176 | 176 | foreach ($jsonResponse['assets'] as $asset) |
177 | 177 | { |
178 | - if ($asset['name'] == $this->pharFile) //todo: add correct filter |
|
178 | + if ($asset['name'] == $this->pharFile) { |
|
179 | + //todo: add correct filter |
|
179 | 180 | { |
180 | 181 | return $asset['browser_download_url']; |
181 | 182 | } |
183 | + } |
|
182 | 184 | } |
183 | 185 | |
184 | 186 | return ''; |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package: marx/php-self-updater |
|
4 | - * |
|
5 | - * @author: msiebeneicher |
|
6 | - * @since: 2015-12-27 |
|
7 | - * |
|
8 | - */ |
|
3 | + * @package: marx/php-self-updater |
|
4 | + * |
|
5 | + * @author: msiebeneicher |
|
6 | + * @since: 2015-12-27 |
|
7 | + * |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace PSU; |
11 | 11 |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package: marx/php-self-updater |
|
4 | - * |
|
5 | - * @author: msiebeneicher |
|
6 | - * @since: 2015-12-27 |
|
7 | - * |
|
8 | - */ |
|
3 | + * @package: marx/php-self-updater |
|
4 | + * |
|
5 | + * @author: msiebeneicher |
|
6 | + * @since: 2015-12-27 |
|
7 | + * |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace PSU; |
11 | 11 |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package: marx/php-self-updater |
|
4 | - * |
|
5 | - * @author: msiebeneicher |
|
6 | - * @since: 2015-12-27 |
|
7 | - * |
|
8 | - */ |
|
3 | + * @package: marx/php-self-updater |
|
4 | + * |
|
5 | + * @author: msiebeneicher |
|
6 | + * @since: 2015-12-27 |
|
7 | + * |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace PSU; |
11 | 11 |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package: marx/php-self-updater |
|
4 | - * |
|
5 | - * @author: msiebeneicher |
|
6 | - * @since: 2015-12-27 |
|
7 | - * |
|
8 | - */ |
|
3 | + * @package: marx/php-self-updater |
|
4 | + * |
|
5 | + * @author: msiebeneicher |
|
6 | + * @since: 2015-12-27 |
|
7 | + * |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace PSU; |
11 | 11 |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package: marx/php-self-updater |
|
4 | - * |
|
5 | - * @author: msiebeneicher |
|
6 | - * @since: 2015-12-27 |
|
7 | - * |
|
8 | - */ |
|
3 | + * @package: marx/php-self-updater |
|
4 | + * |
|
5 | + * @author: msiebeneicher |
|
6 | + * @since: 2015-12-27 |
|
7 | + * |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace PSU; |
11 | 11 |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package: marx/php-self-updater |
|
4 | - * |
|
5 | - * @author: msiebeneicher |
|
6 | - * @since: 2015-12-27 |
|
7 | - * |
|
8 | - */ |
|
3 | + * @package: marx/php-self-updater |
|
4 | + * |
|
5 | + * @author: msiebeneicher |
|
6 | + * @since: 2015-12-27 |
|
7 | + * |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace PSU; |
11 | 11 |