From e17e185ad4e9b9bd55aab925fa8084405fa822b4 Mon Sep 17 00:00:00 2001
From: Grzegorz Rola <grola@seostudio.pl>
Date: Fri, 12 Oct 2018 17:42:30 +0200
Subject: [PATCH] Content paragraph

---
 src/WPDesk/Notice/Notice.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/WPDesk/Notice/Notice.php b/src/WPDesk/Notice/Notice.php
index cefdbf9..d3ea070 100644
--- a/src/WPDesk/Notice/Notice.php
+++ b/src/WPDesk/Notice/Notice.php
@@ -205,7 +205,7 @@ class Notice
         return $attribute_string;
     }
 
-    private function addParagraphToConten()
+    private function addParagraphToContent()
     {
         if (0 === strpos($this->noticeContent, '<p>')) {
             return false;
@@ -222,7 +222,7 @@ class Notice
     public function showNotice()
     {
         $noticeFormat = '<div %1$s>%2$s</div>';
-        if ($this->addParagraphToConten()) {
+        if ($this->addParagraphToContent()) {
             $noticeFormat = '<div %1$s><p>%2$s</p></div>';
         }
         echo sprintf($noticeFormat, $this->getAttributesAsString(), $this->noticeContent);
-- 
GitLab