After I deployed my laravel app on shared hosting, I am getting a HTTP ERROR 500..
I checked my error log file and saw this:

```
PHP Parse error:  syntax error, unexpected '?' in 
/home/shelterm/public_html/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 500

```

```
if (isset($arguments[1]) && is_string($arguments[1])) {
      return $factory->of($arguments[0], $arguments[1])->times($arguments[2] ?? null); 
} elseif (isset($arguments[1])) {
      return $factory->of($arguments[0])->times($arguments[1]);
}

```

The same laravel app works perfectly on my localhost(XAMPP)

PHP Version 7.3.1