Skip to content
This repository has been archived by the owner on Feb 6, 2020. It is now read-only.

Commit

Permalink
Minor CS/consistency changes
Browse files Browse the repository at this point in the history
- space after cast operator
- have new license docblocks reference repo, not project
- have new license copyrights reference only current year
  • Loading branch information
weierophinney committed Dec 19, 2016
1 parent 36f38ff commit c63e3b9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/ServiceManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ private function doCreate($resolvedName, array $options = null)
'Service with name "%s" could not be created. Reason: %s',
$resolvedName,
$exception->getMessage()
), (int)$exception->getCode(), $exception);
), (int) $exception->getCode(), $exception);
}

foreach ($this->initializers as $initializer) {
Expand Down
6 changes: 2 additions & 4 deletions test/TestAsset/ExceptionWithStringAsCode.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com)
* @link http://github.com/zendframework/zend-servicemanager for the canonical source repository
* @copyright Copyright (c) 2016 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/

Expand Down
6 changes: 2 additions & 4 deletions test/TestAsset/FailingExceptionWithStringAsCodeFactory.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com)
* @link http://github.com/zendframework/zend-servicemanager for the canonical source repository
* @copyright Copyright (c) 2016 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/

Expand Down

0 comments on commit c63e3b9

Please sign in to comment.