Skip to content

Commit

Permalink
Move traits
Browse files Browse the repository at this point in the history
  • Loading branch information
webeweb committed Mar 11, 2020
1 parent d676c76 commit bf90ab2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 11 deletions.
2 changes: 0 additions & 2 deletions src/Model/AbstractResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@

namespace WBW\Library\Pixabay\Model;

use WBW\Library\Pixabay\Traits\RateLimitTrait;

/**
* Abstract response.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
* file that was distributed with this source code.
*/

namespace WBW\Library\Pixabay\Traits;
namespace WBW\Library\Pixabay\Model;

use DateTime;

/**
* Rate limit trait.
*
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Library\Pixabay\Traits
* @package WBW\Library\Pixabay\Model
*/
trait RateLimitTrait {

Expand Down
2 changes: 1 addition & 1 deletion src/Provider/AbstractProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
use Psr\Log\LoggerInterface;
use WBW\Library\Pixabay\Exception\APIException;
use WBW\Library\Pixabay\Model\AbstractRequest;
use WBW\Library\Pixabay\Traits\RateLimitTrait;
use WBW\Library\Pixabay\Model\RateLimitTrait;

/**
* Abstract provider.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
* file that was distributed with this source code.
*/

namespace WBW\Library\Pixabay\Tests\Fixtures\Traits;
namespace WBW\Library\Pixabay\Tests\Fixtures\Model;

use WBW\Library\Pixabay\Traits\RateLimitTrait;
use WBW\Library\Pixabay\Model\RateLimitTrait;

/**
* Test rate limit trait.
*
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Library\Pixabay\Tests\Fixtures\Traits
* @package WBW\Library\Pixabay\Tests\Fixtures\Model
*/
class TestRateLimitTrait {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@
* file that was distributed with this source code.
*/

namespace WBW\Library\Pixabay\Tests\Traits;
namespace WBW\Library\Pixabay\Tests\Model;

use DateTime;
use Exception;
use WBW\Library\Pixabay\Tests\AbstractTestCase;
use WBW\Library\Pixabay\Tests\Fixtures\Traits\TestRateLimitTrait;
use WBW\Library\Pixabay\Tests\Fixtures\Model\TestRateLimitTrait;

/**
* Rate limit trait test.
*
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Library\Pixabay\Tests\Traits
* @package WBW\Library\Pixabay\Tests\Model
*/
class RateLimitTraitTest extends AbstractTestCase {

Expand Down

0 comments on commit bf90ab2

Please sign in to comment.