Module Uploading Error
Jamroom Developers
When trying to upload a new marketplace module I get the follwing error from the included Stripe library.
Quote:Errors were found in your upload:
PHP Parse error: syntax error, unexpected 'public' (T_PUBLIC) in /home/jamroom/sites/www.jamroom.net/public_html/data/cache/jrNetworkMarket/TH1KTPfk/modules/n8MSOne/lib/Stripe/InvoiceItem.php on line 47 Errors parsing /home/jamroom/sites/www.jamroom.net/public_html/data/cache/jrNetworkMarket/TH1KTPfk/modules/n8MSOne/lib/Stripe/InvoiceItem.php
I see no errors in this file.
<?php
class Stripe_InvoiceItem extends Stripe_ApiResource
{
public static function retrieve($id, $apiKey=null)
{
$class = get_class();
return self::_scopedRetrieve($class, $id, $apiKey);
}
public static function all($params=null, $apiKey=null)
{
$class = get_class();
return self::_scopedAll($class, $params, $apiKey);
}
public static function create($params=null, $apiKey=null)
{
$class = get_class();
return self::_scopedCreate($class, $params, $apiKey);
}
public function save()
{
$class = get_class();
return self::_scopedSave($class);
}
public function delete($params=null)
{
$class = get_class();
return self::_scopedDelete($class, $params);
}
}
updated by @nate: 03/23/15 12:51:30AM