Skip to content

Commit

Permalink
Suppress inspections
Browse files Browse the repository at this point in the history
  • Loading branch information
supercid committed Dec 19, 2023
1 parent 2323220 commit b0123ce
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@ public function getShopwareVersion()
* Creates Nosto emotions for Shopping World templates
*
* @see Shopware_Plugins_Frontend_NostoTagging_Bootstrap::install
* @suppress PhanTypeMismatchArgument
*/
protected function createMyEmotions()
{
Expand Down Expand Up @@ -1070,6 +1071,7 @@ public function generateCustomerTagging()
*
* @see Shopware_Controllers_Frontend_NostoTagging::noCacheTaggingAction
* @return NostoCartModel|null
* @suppress PhanDeprecatedFunction
*/
public function generateCartTagging()
{
Expand Down Expand Up @@ -1334,6 +1336,7 @@ public function onPostDispatchFrontendCheckout(Enlight_Controller_ActionEventArg
* @param Enlight_View_Default $view the view.
*
* @throws Enlight_Event_Exception
* @suppress PhanDeprecatedFunction
* @see Shopware_Plugins_Frontend_NostoTagging_Bootstrap::onPostDispatchFrontendCheckout
*/
protected function addOrderTagging(Enlight_View_Default $view)
Expand Down
1 change: 1 addition & 0 deletions Components/Helper/Price.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ public static function calcArticlePriceInclTax(
* @param Price $price
* @param Tax $tax
* @return float|int
* @suppress PhanTypeMismatchReturnNullable
*/
public static function applyTaxes(
$priceWithoutTax,
Expand Down
1 change: 1 addition & 0 deletions Components/Model/Repository/ProductStreams.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public function __construct()
*
* @param Article $article
* @return array
* @suppress PhanDeprecatedFunction
*/
public function getProductStreamsSelectionName(Article $article)
{
Expand Down
1 change: 1 addition & 0 deletions Controllers/frontend/NostoTagging.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ public function oauthAction()
$shop->getId()
));
}
// @phan-suppress-next-line PhanTypeMismatchArgument
$token = $this->getAuthenticatedToken($shop, $code);
$result = $this->fireRequest($token);
$nostoAccount = new NostoAccount($token->getMerchantName());
Expand Down

0 comments on commit b0123ce

Please sign in to comment.