for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Author: Emmanuel Paul Mnzava
* Twitter: @epmnzava
* Github: https://github.com/dbrax/bill-me
* Email: [email protected]
*
*/
namespace Epmnzava\BillMe;
use Epmnzava\BillMe\Models\Order;
use Epmnzava\BillMe\Models\Invoice;
use Epmnzava\BillMe\Models\OrderItem;
use Epmnzava\BillMe\Mail\Client\Invoices\InvoiceCreated;
use Epmnzava\BillMe\Mail\Client\OrderReceived;
use Epmnzava\BillMe\Mail\Merchant\NewOrder;
use Mail;
class Queries extends Stats
{
public function orders()
return Order::all();
}
public function orders_today()
public function pending_orders(){
public function cancelled_orders(){
public function completed_orders(){
public function getOrderById($orderid){
$orderid
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
public function getOrdersOnDate($date){
$date
public function getOrdersOnDateRange($startdate,$enddate){
$startdate
$enddate
public function getInvoiceById($invoiceid){
$invoiceid
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.