Skip to content

Commit

Permalink
Removed Nette\Object (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrakub authored and Milan Felix Šulc committed Feb 22, 2018
1 parent a706393 commit 54902d5
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 3,7 @@ php:
- 5.6
- 7.0
- 7.1
- 7.2
- hhvm
- hhvm-nightly

Expand All @@ -26,6 27,10 @@ matrix:
env: COMPOSER_FLAG=--prefer-lowest
- php: 7.1
env: COMPOSER_FLAG=--prefer-stable
- php: 7.2
env: COMPOSER_FLAG=--prefer-lowest
- php: 7.2
env: COMPOSER_FLAG=--prefer-stable

before_script:
# Composer
Expand Down
3 changes: 1 addition & 2 deletions src/Gopay/Entity/BasePayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 4,6 @@

use Markette\Gopay\Exception\InvalidArgumentException;
use Markette\Gopay\Gopay;
use Nette\Object;
use stdClass;

/**
Expand All @@ -18,7 17,7 @@
* @property string $productName
* @property stdClass $customer
*/
abstract class BasePayment extends Object
abstract class BasePayment
{

/** @var float */
Expand Down
6 changes: 4 additions & 2 deletions src/Gopay/Gopay.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 4,7 @@

use Markette\Gopay\Api\GopayHelper;
use Markette\Gopay\Api\GopaySoap;
use Nette\Object;
use Nette\SmartObject;

/**
* Base Gopay class
Expand All @@ -13,9 13,11 @@
* @property-read GopaySoap $soap
* @property-read GopayHelper $helper
*/
class Gopay extends Object
class Gopay
{

use SmartObject;

// METHODS =================================================================

/** @const Platba kartou - Komerční banka, a.s. - Global Payments */
Expand Down
3 changes: 1 addition & 2 deletions src/Gopay/Service/AbstractService.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 4,11 @@

use Markette\Gopay\Exception\InvalidArgumentException;
use Markette\Gopay\Gopay;
use Nette\Object;

/**
* Abstract Service
*/
abstract class AbstractService extends Object
abstract class AbstractService
{

/** @var bool */
Expand Down

0 comments on commit 54902d5

Please sign in to comment.