Skip to content

Commit

Permalink
Merge pull request #1 from nadsrosun/analysis-86gm4W
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
nadsrosun authored Nov 9, 2017
2 parents a1f5125 + f422238 commit 72505c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Provider/CentralBankOfRepublicTurkeyProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/**
* Central Bank of Republic of Turkey (CBRT) provider.
*
* @link http://tcmb.gov.tr
* @see http://tcmb.gov.tr
*
* @author Uğur Erkan <[email protected]>
*/
Expand Down
1 change: 1 addition & 0 deletions src/Util/StringUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public static function jsonToArray($string)

if (JSON_ERROR_NONE !== json_last_error()) {
$last = json_last_error();

throw new \RuntimeException(
'Unable to parse JSON data: '
.(isset($jsonErrors[$last]) ? $jsonErrors[$last] : 'Unknown error')
Expand Down
1 change: 1 addition & 0 deletions tests/Tests/Provider/CurrencyLayerProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Swap\Tests\Provider;

use Swap\Model\CurrencyPair;
Expand Down

0 comments on commit 72505c4

Please sign in to comment.