Skip to content
This repository was archived by the owner on Jan 22, 2021. It is now read-only.
Open

3.0.x #280

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
177 commits
Select commit Hold shift + click to select a range
d49bf1f
Removed deprecated nonce tests
ionux Sep 15, 2015
e3e6beb
Removed deprecated nonce tests
ionux Sep 15, 2015
9efe33b
Updated copyright year and minor refactoring
ionux Sep 15, 2015
4f61601
Updated copyright year and minor refactoring
ionux Sep 15, 2015
f8a7a98
Updated copyright year and minor refactoring
ionux Sep 15, 2015
97162a5
Updated copyright year and minor refactoring
ionux Sep 15, 2015
8da8aed
Updated copyright year and minor refactoring
ionux Sep 15, 2015
5766d8a
Updated copyright year and minor refactoring
ionux Sep 15, 2015
014da0d
Updated copyright year and minor refactoring
ionux Sep 15, 2015
c6503e0
Updated copyright year and minor refactoring
ionux Sep 15, 2015
2f60d3a
Updated copyright year and minor refactoring
ionux Sep 15, 2015
4d12f6a
Updated copyright year and minor refactoring
ionux Sep 15, 2015
ed7b4a2
Updated copyright year and minor refactoring
ionux Sep 15, 2015
8bf7a62
Updated copyright year and minor refactoring
ionux Sep 15, 2015
580d4a5
Updated copyright year and minor refactoring
ionux Sep 15, 2015
5f7b18c
Updated copyright year and minor refactoring
ionux Sep 15, 2015
6689dd3
Updated copyright year and minor refactoring
ionux Sep 15, 2015
281a262
Updated copyright year and minor refactoring
ionux Sep 15, 2015
65bc02b
Updated copyright year and minor refactoring
ionux Sep 15, 2015
6b67fba
Updated copyright year and minor refactoring
ionux Sep 15, 2015
a8ebc01
Updated copyright year and minor refactoring
ionux Sep 15, 2015
18d8219
Updated copyright year and minor refactoring
ionux Sep 15, 2015
1d9e7c4
Updated copyright year and minor refactoring
ionux Sep 15, 2015
ba83f55
Updated copyright year and minor refactoring
ionux Sep 15, 2015
effcee7
Updated copyright year and minor refactoring
ionux Sep 15, 2015
b424b2a
Updated copyright year and minor refactoring
ionux Sep 15, 2015
dfa099e
Updated copyright year and minor refactoring
ionux Sep 15, 2015
7364d7c
Updated copyright year and minor refactoring
ionux Sep 15, 2015
7fa8139
Updated copyright year and minor refactoring
ionux Sep 15, 2015
e6aa1c4
Updated copyright year and minor refactoring
ionux Sep 15, 2015
971f65c
Updated copyright year and minor refactoring
ionux Sep 15, 2015
9a28b90
Updated copyright year and minor refactoring
ionux Sep 15, 2015
4ae7392
Updated copyright year and minor refactoring
ionux Sep 15, 2015
5b46f35
Updated copyright year and minor refactoring
ionux Sep 15, 2015
56d8804
Updated copyright year and minor refactoring
ionux Sep 15, 2015
82f1ea6
Updated copyright year and minor refactoring
ionux Sep 15, 2015
e211ed5
Updated copyright year and minor refactoring
ionux Sep 15, 2015
4d59247
Update with_tokens.json
ionux Sep 15, 2015
7736734
Update currencies.json
ionux Sep 15, 2015
5f22e82
Minor formatting
ionux Sep 15, 2015
a6e5b5f
Updated copyright year and minor refactoring
ionux Sep 15, 2015
198b304
Minor formatting
ionux Sep 15, 2015
98981df
Updated description
ionux Sep 15, 2015
31cc0f7
Minor formatting
ionux Sep 15, 2015
31a1283
Added experimental hhvm build testing
ionux Sep 15, 2015
03fe25c
Removed deprecated nonce method
ionux Sep 15, 2015
7fee602
Removed deprecated nonce methods & vars
ionux Sep 15, 2015
8198790
Removed deprecated nonce method
ionux Sep 16, 2015
715e4cd
Updated copyright year and minor refactoring
ionux Sep 16, 2015
991a869
Updated copyright year and minor refactoring
ionux Sep 16, 2015
a66d98b
Updated copyright year and minor refactoring
ionux Sep 16, 2015
a7eb7be
Updated copyright year and minor refactoring
ionux Sep 16, 2015
3939d2a
Updated copyright year and minor refactoring
ionux Sep 16, 2015
e17cdd3
Updated copyright year and minor refactoring
ionux Sep 16, 2015
f923cf2
Removed deprecated nonce method
ionux Sep 16, 2015
a21df08
Updated copyright year and minor refactoring
ionux Sep 16, 2015
aeb380d
Updated copyright year and minor refactoring
ionux Sep 16, 2015
07af641
Updated copyright year and minor refactoring
ionux Sep 16, 2015
9df235b
Updated copyright year and minor refactoring
ionux Sep 16, 2015
e2a6fae
Updated copyright year and minor refactoring
ionux Sep 16, 2015
6fc1aa9
Updated copyright year and minor refactoring
ionux Sep 16, 2015
a925f5a
Updated copyright year and minor refactoring
ionux Sep 16, 2015
6e1bcd2
Updated copyright year and minor refactoring
ionux Sep 16, 2015
51c74e5
New Mozilla cert bundle update
ionux Sep 16, 2015
37847b5
Updated copyright year and minor refactoring
ionux Sep 16, 2015
e3177a1
Updated copyright year and minor refactoring
ionux Sep 16, 2015
0167d42
Updated copyright year and minor refactoring
ionux Sep 16, 2015
b6e3c4b
Updated copyright year and minor refactoring
ionux Sep 16, 2015
cb8b635
Updated copyright year and minor refactoring
ionux Sep 16, 2015
029d4f8
Updated copyright year and minor refactoring
ionux Sep 16, 2015
a16d119
Updated copyright year and minor refactoring
ionux Sep 16, 2015
43e9b91
Updated copyright year and minor refactoring
ionux Sep 16, 2015
82eade1
Updated copyright year and minor refactoring
ionux Sep 16, 2015
848a900
Updated copyright year and minor refactoring
ionux Sep 16, 2015
e33ae94
Update MockStorage.php
ionux Sep 16, 2015
0b39a27
Updated copyright year and minor refactoring
ionux Sep 16, 2015
7a27ea3
Updated copyright year and minor refactoring
ionux Sep 16, 2015
7f840e3
Updated copyright year and minor refactoring
ionux Sep 16, 2015
347eecf
Travis update for new container infrastructure
ionux Sep 16, 2015
58a52f7
Added check for encryption failure in persist()
ionux Sep 16, 2015
7e77374
Added base64 encode/decode failure checks
ionux Sep 16, 2015
597e364
Corrected return method types
ionux Sep 16, 2015
f50af5c
Updated exception message with more info
ionux Sep 16, 2015
df9a608
Added specific openssl error messages
ionux Sep 16, 2015
2611175
Update tests to use class-level vars
ionux Sep 16, 2015
9668ccd
Moved stream create order
ionux Sep 16, 2015
a360bde
Uncommented file creation test
ionux Sep 16, 2015
87614cf
Fix to load test
ionux Sep 16, 2015
3f95d2f
Refactor to improve code quality
ionux Sep 16, 2015
0ae18e7
Corrected variable name
ionux Sep 16, 2015
2c854bd
Corrected camel case method name
ionux Sep 16, 2015
feef908
Removed unneeded variables in exception handling
ionux Sep 16, 2015
6fad9f6
Removed white space for PSR check
ionux Sep 16, 2015
70df119
Corrected return method types
ionux Sep 16, 2015
1e72d49
Updated copyright year and minor refactoring
ionux Sep 16, 2015
ce450ea
Updated copyright year and minor refactoring
ionux Sep 16, 2015
97c4344
Added param to ignore autloader unregister fails
ionux Sep 16, 2015
701129a
Corrected method parameter types
ionux Sep 16, 2015
80e710c
Corrected method parameter types
ionux Sep 16, 2015
d4902d9
Corrected class types
ionux Sep 16, 2015
f84b9ec
Updated copyright year and minor refactoring
ionux Sep 16, 2015
a0facda
Updated copyright year and minor refactoring
ionux Sep 16, 2015
e58e21d
Updated copyright year and minor refactoring
ionux Sep 16, 2015
24573a1
Updated copyright year and minor refactoring
ionux Sep 16, 2015
f9fb38c
Corrected class types
ionux Sep 16, 2015
5503814
Corrected class types
ionux Sep 16, 2015
5cafe38
Updated copyright year and minor refactoring
ionux Sep 16, 2015
91f3a23
Corrected class types
ionux Sep 16, 2015
654184b
Updated currency list with new values
ionux Sep 16, 2015
5360adc
Corrected method parameter types
ionux Sep 16, 2015
6641f91
Corrected class types
ionux Sep 16, 2015
ff7876f
Refactor to improve code quality
ionux Sep 16, 2015
10b8cec
Updated copyright year and minor refactoring
ionux Sep 17, 2015
0fbb661
Corrected class types
ionux Sep 17, 2015
b138202
Updated exception message with more info
ionux Sep 17, 2015
2204e5e
Corrected method parameter types
ionux Sep 17, 2015
2486247
Corrected class types
ionux Sep 22, 2015
58dd999
Corrected class types
ionux Sep 22, 2015
6827953
Updated copyright year and minor refactoring
ionux Sep 22, 2015
d74d6db
Corrected class types
ionux Sep 22, 2015
b4b377c
Corrected class types
ionux Sep 22, 2015
8c02b57
Corrected class types
ionux Sep 22, 2015
e30a00a
Corrected class types
ionux Sep 22, 2015
344adcf
Updated copyright year and minor refactoring
ionux Sep 22, 2015
261a1f1
Corrected class types
ionux Sep 22, 2015
cde7566
Corrected exception type
ionux Sep 22, 2015
713f46b
Corrected namespace scope in documentation
ionux Sep 22, 2015
35ae47f
Updated copyright year and minor refactoring
ionux Sep 22, 2015
e796d8e
Corrected typo in method name
ionux Sep 22, 2015
2f9295e
Updated method parameter documenation
ionux Sep 22, 2015
c0fe48e
Refactor to improve code quality
ionux Sep 22, 2015
b43a875
Updated copyright year and minor refactoring
ionux Sep 22, 2015
34de91f
Updated method return type documenation
ionux Sep 22, 2015
db61457
Updated method parameter documenation
ionux Sep 22, 2015
9506d42
Updated copyright year and minor refactoring
ionux Sep 22, 2015
52efd15
Moved documentation to interface
ionux Sep 22, 2015
8f5625e
Corrected transaction speed set test
ionux Sep 22, 2015
aeb965c
Added validation for url parameter
ionux Sep 22, 2015
e3de9d9
change btcPrice to btcPaid
gabegattis Oct 23, 2015
ff700ec
Merge pull request #162 from gabegattis/bug/btcPaidBtcPrice
pnagurny Oct 23, 2015
5bfcc60
Namespaced class name references/ Custom HTTP Accept Version Header
Nov 16, 2015
63bd1a6
Repaired tests based on current changes to the code.
Nov 16, 2015
48e0eb2
Merge pull request #167 from kleetus/bug/namespaces
dantebronto Nov 17, 2015
8d758fa
Bumped version to 2.2.8 from 2.2.6 (it was supposed to be 2.2.7 at th…
Dec 3, 2015
c3e89d9
Merge pull request #168 from kleetus/version_bump
dantebronto Dec 3, 2015
dfeeb04
Update Token.php
Invision70 Dec 25, 2015
a3bfc44
Merge pull request #170 from Invision70/patch-1
kleetus Dec 28, 2015
e0ed633
Fixed invoice, expiration, and current time error
Jan 22, 2016
8253cd2
Manipulated the times from the API in the client class instead of the…
Jan 23, 2016
6ccabf8
Merge pull request #175 from kleetus/bug/fix_timezone
dantebronto Jan 25, 2016
f539f43
Updated package for use with Symfony 3.0 or 2.3
Jan 28, 2016
37cc9f9
created paymentUrlInterface and PaymentUrlSet to hold the various pay…
leonar15 Jan 13, 2016
9a2250c
updated the invoiceintercae and invoice class to support the new paym…
leonar15 Jan 13, 2016
4a0f0f9
set paymentUrls when creating or loading an invoice via client
leonar15 Jan 13, 2016
d8d23fc
fixed PSR issues
leonar15 Jan 14, 2016
dba40cf
more PSR fixes
leonar15 Jan 14, 2016
f5cf55e
fixed clientTest to add newly required invoice interface method
leonar15 Jan 14, 2016
c0ab518
updated test data for invoices
leonar15 Jan 14, 2016
f52511c
fixed an issue where bitpay API doesn't return paymentUrls when an in…
leonar15 Jan 24, 2016
0f8c3ab
Fixed scope of PaymentUrlSet.
Feb 5, 2016
66e1269
Merge pull request #177 from kleetus/leonar15_master
kleetus Feb 5, 2016
e96fcd3
Merge branch 'master' of github.com:bitpay/php-client
Feb 5, 2016
b6b1208
Invoice class mutator type-checking
Feb 12, 2016
a4bd4a2
Update Configuration Doc Links
jameswalpole Feb 15, 2016
366a620
fix timezone ids for case-sensitive systems
Feb 15, 2016
a0dd12b
Merge pull request #182 from jameswalpole/patch-1
kleetus Feb 15, 2016
8a228cd
Merge pull request #183 from marcod85/master
kleetus Feb 15, 2016
66537e5
Merge pull request #181 from kleetus/bug/field_types
pnagurny Feb 16, 2016
871debb
Remove Outdated Link
jameswalpole Feb 19, 2016
4fce928
Merge pull request #184 from jameswalpole/patch-2
kleetus Feb 19, 2016
b2c8050
checkPriceAndCurrency
Mar 2, 2016
c2e2048
checkPriceAndCurrency
Mar 2, 2016
9c83ef4
Merge pull request #189 from kleetus/bug/checkPrice
dantebronto Mar 3, 2016
75ec2a8
Added references to new version.
Mar 4, 2016
5967bd1
Bumped version.
Mar 10, 2016
4f370de
Updated Changelog for 3.0.0.
Mar 10, 2016
cf0ae95
updated README
Mar 10, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ php:
- 5.4
- 5.5
- 5.6
- hhvm

install:
- composer install
Expand All @@ -23,8 +24,13 @@ after_script:
notifications:
email: false

sudo:
false

matrix:
fast_finish: true
allow_failures:
- php: hhvm

# Only build the master branch and pull requests for the master branch
branches:
Expand Down
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,25 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased][unreleased]
## [3.0.0] - 2016-03-10
###Fixed
- should respect that numbers coming from the api might not have decimal points at all, but they are still valid
- Bug fixes that include proper type checking for invoice object creation
- Fixed invoice, expiration, and current time error
- Repaired tests based on current changes to the code.

###Added
- Using this library with Symfony >=2.3 or Symfony 3.0.x should work. So if you are already using Symfony 3.0, then this library should work with it too.
- Leo Hochberg added PaymentUrl support to the library since the BitPay backend support it. Thanks Leo.

## [2.2.7] - 2015-10-28
###Fixed
- btcPaid on invoice responses now contains the amount paid instead of the price

## [2.2.6] - 2015-07-31
###Fixed
- The fixes several issues, including "Price only accepts .00 precision" and "Invoice exception state"

### Changed
- Refactored function calls out of loops

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
setup:
composer.phar install
./composer.phar install
npm install

test:
Expand Down
21 changes: 8 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ bitpay/php-bitpay-client
[![Scrutinizer](https://img.shields.io/scrutinizer/g/bitpay/php-bitpay-client.svg?style=flat-square)](https://scrutinizer-ci.com/g/bitpay/php-bitpay-client/)
[![Coveralls](https://img.shields.io/coveralls/bitpay/php-bitpay-client.svg?style=flat-square)](https://coveralls.io/r/bitpay/php-bitpay-client)

[![Documentation Status](https://readthedocs.org/projects/php-bitpay-client/badge/?version=latest)](https://readthedocs.org/projects/php-bitpay-client/?badge=latest)
[![Total Downloads](https://poser.pugx.org/bitpay/php-client/downloads.svg)](https://packagist.org/packages/bitpay/php-client)
[![Latest Unstable Version](https://poser.pugx.org/bitpay/php-client/v/unstable.svg)](https://packagist.org/packages/bitpay/php-client)

This is a self-contained PHP implementation of BitPay's new cryptographically secure API: https://bitpay.com/api
This is a self-contained PHP implementation of BitPay's cryptographically secure API: https://bitpay.com/api

# Installation

Expand All @@ -33,7 +32,7 @@ Add to your composer.json file by hand.
...
"require": {
...
"bitpay/php-client": "^2.2"
"bitpay/php-client": "^3.0"
}
...
}
Expand All @@ -48,12 +47,12 @@ php composer.phar update bitpay/php-client
### Install using composer

```bash
php composer.phar require bitpay/php-client:^2.2
php composer.phar require bitpay/php-client:^3.0
```

# Configuration

See https://labs.bitpay.com/t/php-bitpay-client-library-configuration/555
https://help.bitpay.com/8451-Implementation-/how-to-configure-the-php-bitpay-client-library

# Usage

Expand All @@ -65,9 +64,8 @@ instead of composer's autoloader, use the following code:
```php
<?php
$autoloader = __DIR__ . '/relative/path/to/Bitpay/Autoloader.php';
if (true === file_exists($autoloader) &&
true === is_readable($autoloader))
{

if (file_exists($autoloader) && is_readable($autoloader)) {
require_once $autoloader;
\Bitpay\Autoloader::register();
} else {
Expand All @@ -81,19 +79,16 @@ Please see the ``docs`` directory for information on how to use this library
and the ``examples`` directory for examples on using this library. You should
be able to run all the examples by running ``php examples/File.php``.

Reading the latest documentation at https://labs.bitpay.com/c/libraries/php might also help.

# Support

* https://github.com/bitpay/php-bitpay-client/issues
* https://labs.bitpay.com/c/libraries/php
* https://support.bitpay.com/
* https://help.bitpay.com/

# License

The MIT License (MIT)

Copyright (c) 2015 BitPay, Inc.
Copyright (c) 2011-2016 BitPay, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.2.5
3.0.0
5 changes: 2 additions & 3 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
<project name="bitpay/package" default="build">
<target name="build" depends="lint,phpunit,phpcs" />

<target name="lint"
description="Check the syntax of PHP files">
<target name="lint" description="Check the syntax of PHP files">
<mkdir dir="${project.basedir}/build/cache" />
<phplint cachefile="${project.basedir}/build/cache/phplint.cache">
<fileset dir="${project.basedir}/src">
<include name="**/*.php"/>
<include name="**/*.php" />
</fileset>
</phplint>
</target>
Expand Down
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bitpay/php-client",
"description": "PHP Library to work with the new cryptographically secure BitPay API",
"description": "PHP Library to work with the cryptographically secure BitPay API",
"license": "MIT",
"minimum-stability": "stable",
"keywords": ["bitpay", "bitcoin"],
Expand Down Expand Up @@ -29,17 +29,17 @@
"ext-json": "*",
"ext-openssl": "*",
"ext-mcrypt": "*",
"symfony/config": "2.5.*",
"symfony/dependency-injection": "2.5.*"
"symfony/config": "^2.3 || ^3.0",
"symfony/dependency-injection": "^2.3 || ^3.0"
},
"require-dev": {
"behat/behat": "2.5.*@stable",
"behat/mink": "1.6.1",
"behat/mink-extension": "1.3.*",
"behat/behat": "master-dev",
"behat/mink": "master-dev",
"behat/mink-extension": "master-dev",
"behat/mink-selenium2-driver": "1.2.0",
"fabpot/goutte": "~1.0.4",
"behat/mink-goutte-driver": "1.*",
"phpmd/phpmd": "~2.1.3",
"phpmd/phpmd": "master-dev",
"phpunit/phpunit": "~4.3.1",
"fzaninotto/faker": "~1.4.0",
"mikey179/vfsStream": "~1.4.0",
Expand All @@ -54,7 +54,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "2.2.x-dev"
"dev-master": "3.0.x-dev"
}
}
}
62 changes: 14 additions & 48 deletions src/Bitpay/AccessToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,20 @@ class AccessToken implements AccessTokenInterface
protected $label;

/**
* @var boolean
* Set various defaults for this object.
*/
protected $useNonce;

/**
*/
public function __construct()
public function __construct($id = null, $email = null, $label = null)
{
/**
* Set various defaults for this object.
*/
$this->useNonce = true;
$this->id = $id;
$this->email = $email;
$this->label = $label;
}

/**
* @param string $id
* Setter for the id.
*
* @return AccessTokenInterface
* @param string $id
* @return AccessToken
*/
public function setId($id)
{
Expand All @@ -64,9 +60,10 @@ public function getId()
}

/**
* @param string $email
* Setter for the email address.
*
* @return AccessTokenInterface
* @param string $email
* @return AccessToken
*/
public function setEmail($email)
{
Expand All @@ -86,9 +83,10 @@ public function getEmail()
}

/**
* @param string $label
* Setter for the label.
*
* @return AccessTokenInterface
* @param string $label
* @return AccessToken
*/
public function setLabel($label)
{
Expand All @@ -106,36 +104,4 @@ public function getLabel()
{
return $this->label;
}

/**
* @inheritdoc
*/
public function isNonceDisabled()
{
return !($this->useNonce);
}

/**
* Enable nonce usage
*
* @return AccessTokenInterface
*/
public function nonceEnable()
{
$this->useNonce = true;

return $this;
}

/**
* Disable nonce usage
*
* @return AccessTokenInterface
*/
public function nonceDisable()
{
$this->useNonce = false;

return $this;
}
}
7 changes: 1 addition & 6 deletions src/Bitpay/AccessTokenInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace Bitpay;

/**
* Creates an access token for the given client
* Interface for an access token for the given client
*
* @package Bitpay
*/
Expand All @@ -27,9 +27,4 @@ public function getEmail();
* @return string
*/
public function getLabel();

/**
* @return boolean
*/
public function isNonceDisabled();
}
17 changes: 6 additions & 11 deletions src/Bitpay/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
namespace Bitpay;

/**
*
* @package Bitpay
*/
class Application implements ApplicationInterface
Expand All @@ -22,8 +21,6 @@ class Application implements ApplicationInterface
*/
protected $orgs;

/**
*/
public function __construct()
{
$this->users = array();
Expand All @@ -49,11 +46,10 @@ public function getOrgs()
/**
* Add user to stack
*
* @param UserInterface $user
*
* @return ApplicationInterface
* @param User $user
* @return Application
*/
public function addUser(UserInterface $user)
public function addUser(User $user)
{
if (!empty($user)) {
$this->users[] = $user;
Expand All @@ -65,11 +61,10 @@ public function addUser(UserInterface $user)
/**
* Add org to stack
*
* @param OrgInterface $org
*
* @return ApplicationInterface
* @param Org $org
* @return Application
*/
public function addOrg(OrgInterface $org)
public function addOrg(Org $org)
{
if (!empty($org)) {
$this->orgs[] = $org;
Expand Down
4 changes: 2 additions & 2 deletions src/Bitpay/ApplicationInterface.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/**
* @license Copyright 2011-2014 BitPay Inc., MIT License
* @license Copyright 2011-2015 BitPay Inc., MIT License
* see https://github.com/bitpay/php-bitpay-client/blob/master/LICENSE
*/

namespace Bitpay;

/**
* Creates an application for a new merchant account
* Creates an application for a new merchant account.
*
* @package Bitpay
*/
Expand Down
Loading