From c4bc3d8798e5571e9e4e09664bc4e345bb80d348 Mon Sep 17 00:00:00 2001 From: kenjis Date: Mon, 11 Jan 2016 10:31:33 +0900 Subject: [PATCH] Fix sample code Add `;` at the end. --- docs/API Documentation.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/API Documentation.md b/docs/API Documentation.md index 3566e3c..4e2f8e4 100644 --- a/docs/API Documentation.md +++ b/docs/API Documentation.md @@ -413,7 +413,7 @@ PrettyPageHandler::handle() ```php // Use a certain handler only in AJAX triggered requests if (Whoops\Util\Misc::isAjaxRequest()){ - $run->addHandler($myHandler) + $run->addHandler($myHandler); } ``` @@ -423,7 +423,7 @@ if (Whoops\Util\Misc::isAjaxRequest()){ ```php // Use a certain handler only in php cli if (Whoops\Util\Misc::isCommandLine()){ - $run->addHandler($myHandler) + $run->addHandler($myHandler); } ``` @@ -437,5 +437,5 @@ $plainTextHandler = new PlainTextHandler(); if (!Whoops\isCommandLine()){ $plainTextHandler->loggerOnly(true); } -$run->addHandler($myHandler) -``` \ No newline at end of file +$run->addHandler($myHandler); +```