Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docblock return types #1968

Merged
merged 1 commit into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/core/src/Pipelines/Cart/ApplyDiscounts.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ final class ApplyDiscounts
/**
* Called just before cart totals are calculated.
*
* @return void
* @return mixed
*/
public function handle(Cart $cart, Closure $next)
{
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/Pipelines/Cart/ApplyShipping.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ final class ApplyShipping
/**
* Called just before cart totals are calculated.
*
* @return void
* @return mixed
*/
public function handle(Cart $cart, Closure $next)
{
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/Pipelines/Cart/Calculate.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Calculate
/**
* Called just before cart totals are calculated.
*
* @return void
* @return mixed
*/
public function handle(Cart $cart, Closure $next)
{
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/Pipelines/Cart/CalculateLines.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class CalculateLines
/**
* Called just before cart totals are calculated.
*
* @return void
* @return mixed
*/
public function handle(Cart $cart, Closure $next)
{
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/Pipelines/Cart/CalculateTax.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class CalculateTax
/**
* Called just before cart totals are calculated.
*
* @return void
* @return mixed
*/
public function handle(Cart $cart, Closure $next)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class CleanUpOrderLines
{
/**
* @return Closure
* @return mixed
*/
public function handle(Order $order, Closure $next)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class CreateOrderAddresses
{
/**
* @return Closure
* @return mixed
*/
public function handle(Order $order, Closure $next)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class CreateOrderLines
{
/**
* @return Closure
* @return mixed
*/
public function handle(Order $order, Closure $next)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class CreateShippingLine
{
/**
* @return Closure
* @return mixed
*/
public function handle(Order $order, Closure $next)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class FillOrderFromCart
{
/**
* @return Closure
* @return mixed
*/
public function handle(Order $order, Closure $next)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class MapDiscountBreakdown
{
/**
* @return Closure
* @return mixed
*/
public function handle(Order $order, Closure $next)
{
Expand Down
Loading