Passed
Push — master ( 8f4bcc...5aeb2c )
by Greg
02:04
created

examples/money.php (1 issue)

Labels
Severity
1
<?php
2
require_once __DIR__ . '/../_includes/init.inc.php';
3
require_once GJC_DIR_INC . '/config.inc.php';
4
5
require_once GJC_DIR_ROOT . '/vendor/autoload.php';
6
7
$_SESSION['s_user_id'] = 23;
8
$money = new GJClasses\Money();
9
10
echo $money->getConvRate('USD', 'CAD');
0 ignored issues
show
Are you sure $money->getConvRate('USD', 'CAD') of type false|mixed can be used in echo? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-type  annotation

10
echo /** @scrutinizer ignore-type */ $money->getConvRate('USD', 'CAD');
Loading history...
11