I am attempting to achieve the Inchoo Shipping Magento 2 example. When I run 'setup:di:compile', I receive this error: 'Parse error: syntax error, unexpected 'class' (T_CLASS)'. I am not sure what is wrong with my formatting that is causing this. Can post the whole code, but it seems irrelevant as the error is occurring at the introduction of the class
Code Snippet:
<?php
namespace Inchoo_Shipping\Shipping\Model\Carrier;
use Magento\Quote\Model\Quote\Address\RateResult\Error;
use Magento\Quote\Model\Quote\Address\RateRequest;
use Magento\Shipping\Model\Carrier\AbstractCarrierOnline;
use Magento\Shipping\Model\Carrier\CarrierInterface;
use Magento\Shipping\Model\Rate\Result;
class Example extends \Magento\Shipping\Model\Carrier\AbstractCarrier implements
\Magento\Shipping\Model\Carrier\CarrierInterface
{
/**
* @var string
*/
protected $_code = 'example';