Skip to content

Commit

Permalink
Merge pull request ezcommunity#33 from blankse/fix_wrong_namespaces
Browse files Browse the repository at this point in the history
Fix wrong namespaces
  • Loading branch information
crevillo committed Nov 19, 2014
2 parents 2e88374 + 2e56d76 commit c04a47d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
Expand Up @@ -6,7 +6,7 @@
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/

namespace EzSystems\EzPriceBundle\Core\Persistence\Legacy\Price\Gateway;
namespace EzSystems\EzPriceBundle\Core\Persistence\Legacy\Price\Vat;

use eZ\Publish\API\Repository\Exceptions\NotImplementedException;

Expand Down
1 change: 0 additions & 1 deletion Core/Persistence/Legacy/Price/Vat/VatHandler.php
Expand Up @@ -11,7 +11,6 @@
use EzSystems\EzPriceBundle\SPI\Persistence\Price\VatHandler as VatHandlerInterface;
use EzSystems\EzPriceBundle\Core\Persistence\Legacy\Price\Vat\Gateway;
use EzSystems\EzPriceBundle\API\Price\Values\VatRate;
use EzSystems\EzPriceBundle\Core\Persistence\Legacy\Price\Vat\AutomaticVatHandlerException;

class VatHandler implements VatHandlerInterface
{
Expand Down
4 changes: 2 additions & 2 deletions Twig/Extension/PriceExtension.php
Expand Up @@ -12,9 +12,9 @@
use eZ\Publish\API\Repository\Values\Content\VersionInfo;
use EzSystems\EzPriceBundle\API\Price\PriceValueWithVatDataCalculator;
use EzSystems\EzPriceBundle\API\Price\ContentVatService;
use EzSystems\EzPriceBundle\Core\Persistence\Legacy\Price\Gateway\AutomaticVatHandlerException;
use EzSystems\EzPriceBundle\Core\Persistence\Legacy\Price\Vat\AutomaticVatHandlerException;
use EzSystems\EzPriceBundle\Core\Persistence\Legacy\Price\ContentVat\Gateway\VatIdentifierNotFoundException;
use EzSystems\EzPriceBundle\Core\Persistence\Legacy\Price\VatNotFoundException;
use EzSystems\EzPriceBundle\Core\Persistence\Legacy\Price\Vat\Gateway\VatNotFoundException;
use Psr\Log\LoggerInterface;
use Twig_Extension;
use Twig_SimpleFunction;
Expand Down
5 changes: 2 additions & 3 deletions eZ/Publish/Core/FieldType/Price/Type.php
Expand Up @@ -9,7 +9,6 @@
namespace EzSystems\EzPriceBundle\eZ\Publish\Core\FieldType\Price;

use eZ\Publish\Core\FieldType\FieldType;
use eZ\Publish\SPI\Persistence\Content\FieldValue;
use eZ\Publish\Core\Base\Exceptions\InvalidArgumentType;
use eZ\Publish\SPI\FieldType\Value as SPIValue;
use eZ\Publish\Core\FieldType\Value as BaseValue;
Expand All @@ -32,7 +31,7 @@ public function getFieldTypeIdentifier()
* It will be used to generate content name and url alias if current field is designated
* to be used in the content name/urlAlias pattern.
*
* @param \eZ\Publish\SPI\FieldType\Value $value
* @param \EzSystems\EzPriceBundle\eZ\Publish\Core\FieldType\Price\Value $value
*
* @return string
*/
Expand Down Expand Up @@ -112,7 +111,7 @@ protected function checkValueStructure( BaseValue $value )
/**
* Returns information for FieldValue->$sortKey relevant to the field type.
*
* @param \eZ\Publish\Core\FieldType\Price\Value $value
* @param \EzSystems\EzPriceBundle\eZ\Publish\Core\FieldType\Price\Value $value
*
* @return array
*/
Expand Down

0 comments on commit c04a47d

Please sign in to comment.