Skip to content

Commit cd57fc3

Browse files
committed
removed depricated --dev from composer
1 parent 5b52ae0 commit cd57fc3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ php:
1010

1111
before_script:
1212
- travis_retry composer self-update
13-
- travis_retry composer install --no-interaction --prefer-source --dev
13+
- travis_retry composer install --no-interaction --prefer-source
1414

1515
script:
1616
- phpunit --coverage-text --coverage-clover=coverage.clover

src/GeoIPUpdater.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace PulkitJalan\GeoIP;
44

5-
use GuzzleHttp\Client as GuzzleClient;
65
use Exception;
6+
use GuzzleHttp\Client as GuzzleClient;
77

88
class GeoIPUpdater
99
{
@@ -30,7 +30,7 @@ public function __construct(array $config, GuzzleClient $guzzle = null)
3030
/**
3131
* Main update function.
3232
*
33-
* @return bool|string
33+
* @return string|false
3434
*/
3535
public function update()
3636
{
@@ -70,8 +70,8 @@ protected function updateMaxmindDatabase()
7070
/**
7171
* gzdecode function.
7272
*
73-
* @param mixed $data
74-
* @return mixed
73+
* @param \Psr\Http\Message\StreamInterface $data
74+
* @return string
7575
*/
7676
protected function gzdecode($data)
7777
{

0 commit comments

Comments
 (0)