Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
commerce_fedex
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
commerce_fedex
Merge requests
!10
Issue
#3423608
by TomTech: Fix PHPStan issues
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3423608
by TomTech: Fix PHPStan issues
issue/commerce_fedex-3423608:3423608-fix-phpstan-issues
into
8.x-1.x
Overview
0
Commits
1
Pipelines
4
Changes
7
Merged
Tom Ashe
requested to merge
issue/commerce_fedex-3423608:3423608-fix-phpstan-issues
into
8.x-1.x
1 year ago
Overview
0
Commits
1
Pipelines
4
Changes
7
Expand
Closes
#3423608
0
0
Merge request reports
Compare
8.x-1.x
version 2
b6c4b911
1 year ago
version 1
a9fe35a0
1 year ago
8.x-1.x (base)
and
latest version
latest version
e4785b3b
1 commit,
1 year ago
version 2
b6c4b911
1 commit,
1 year ago
version 1
a9fe35a0
1 commit,
1 year ago
7 files
+
42
−
101
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
Search (e.g. *.vue) (Ctrl+P)
modules/dangerous/src/Plugin/Commerce/FedEx/DangerousGoodsPlugin.php
+
1
−
1
Options
@@ -101,7 +101,7 @@ class DangerousGoodsPlugin extends FedExPluginBase {
* The DG status.
*/
protected
function
getDangerousStatus
(
ShipmentItem
$shipment_item
)
{
$storage
=
\Drupal
::
entityTypeManager
()
->
getStorage
(
'commerce_order_item'
);
$storage
=
$this
->
entityTypeManager
->
getStorage
(
'commerce_order_item'
);
/** @var \Drupal\commerce_order\Entity\OrderItemInterface $order_item */
$order_item
=
$storage
->
load
(
$shipment_item
->
getOrderItemId
());
$purchased_entity
=
$order_item
->
getPurchasedEntity
();
Loading