Logger now resolves to Zend\Log\Logger since removed "use Zend\Log\Logger;"
Fixed misspelling of "perform"
Line 157 is: Logger::registerErrorHandler($this->logger); should be: Logger::registerErrorHandler($logger); Or even better and to make it more consistent with other examples on the same page I would like to see this code instead (already amended): $logger = new Zend\Log\Logger; $writer = new Zend\Log\Writer\Stream('php://output'); $logger->addWriter($writer); Logger::registerErrorHandler($logger);
My attempt at reworking half the document. Changed an error or two but for the most part. Aim was improving readability.
minor formatting fix
minor: English fix