Skip to content

Commit bb7445f

Browse files
author
peterbakker
committed
removed common ns
1 parent a11ea38 commit bb7445f

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/Components/Helpers/ApiHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Afosto\ApiClient\Components\Helpers;
44

55

6-
use Doctrine\Common\Inflector\Inflector;
6+
use Doctrine\Inflector\Inflector;
77

88
class ApiHelper {
99

src/Components/ModelTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Afosto\ApiClient\Components\Helpers\ApiHelper;
88
use Afosto\ApiClient\Models\Products\Product;
99
use Afosto\ApiClient\Components\Models\Count;
10-
use Doctrine\Common\Inflector\Inflector;
10+
use Doctrine\Inflector\Inflector;
1111
/**
1212
* @property Api $api
1313
* @property boolean $hasErrors

src/Components/Models/Relation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use Afosto\ApiClient\Components\Component;
66
use Afosto\ApiClient\Components\Helpers\ApiHelper;
7-
use Doctrine\Common\Inflector\Inflector;
7+
use Doctrine\Inflector\Inflector;
88

99
class Relation extends Component {
1010

src/Components/WebhookTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
use Afosto\ApiClient\Components\Exceptions\WebhookException;
7-
use Doctrine\Common\Inflector\Inflector;
7+
use Doctrine\Inflector\Inflector;
88

99
trait WebhookTrait {
1010

src/Generator/Definition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Afosto\ApiClient\Generator;
44

5-
use Doctrine\Common\Inflector\Inflector;
5+
use Doctrine\Inflector\Inflector;
66

77
class Definition {
88

src/Generator/Generator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ private function _gatherPaths() {
160160
$this->_paths = [];
161161
foreach ($this->_swaggerSource['paths'] as $path => $pathData) {
162162
$path = current(explode('/', substr($path, 1)));
163-
$this->_paths[] = \Doctrine\Common\Inflector\Inflector::singularize($path);
163+
$this->_paths[] = \Doctrine\Inflector\Inflector::singularize($path);
164164
}
165165
$this->_paths = array_unique($this->_paths);
166166
}

0 commit comments

Comments
 (0)