Skip to content

Commit

Permalink
Update order.php
Browse files Browse the repository at this point in the history
  • Loading branch information
theronakpatel authored Feb 22, 2024
1 parent 7a45c9f commit 861f02a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions class/order.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class order
* @param mixed $name
* @return void
*/

function __construct($name)

Check failure on line 17 in class/order.php

View workflow job for this annotation

GitHub Actions / Run PHPStan

Constructor of class order has an unused parameter $name.
{
$this->customer_id = $_SESSION['customer_id']; // Thsi is depends on how we treat custoomer, I assume the user is loggedin user (not guest)
Expand Down

0 comments on commit 861f02a

Please sign in to comment.