From e7d8293a68767eb3dcf7140c8060fbc8a8650975 Mon Sep 17 00:00:00 2001 From: Yonn Trimoreau Date: Wed, 10 Jan 2018 15:08:33 +0100 Subject: [PATCH 1/3] Moved to using LESS preprocessing as Magento 2 guidelines/code style CSS can now be minified and bundled using Magento 2 LESS preprocessing + it profits from using Magento 2 LESS variables system + CSS can be overriden easily using LESS exclusively and not a blog-custom.css file which is loaded after all other CSS files + keeping backward compatibility with blog-custom.css "hack" --- view/frontend/layout/blog_default.xml | 3 - view/frontend/layout/default.xml | 1 - view/frontend/web/css/blog-m.css | 239 ------------------- view/frontend/web/css/comments.css | 160 ------------- view/frontend/web/css/source/_comments.less | 162 +++++++++++++ view/frontend/web/css/source/_module.less | 243 ++++++++++++++++++++ 6 files changed, 405 insertions(+), 403 deletions(-) delete mode 100755 view/frontend/web/css/blog-m.css delete mode 100755 view/frontend/web/css/comments.css create mode 100755 view/frontend/web/css/source/_comments.less create mode 100755 view/frontend/web/css/source/_module.less diff --git a/view/frontend/layout/blog_default.xml b/view/frontend/layout/blog_default.xml index 533c16a7..92502d1c 100755 --- a/view/frontend/layout/blog_default.xml +++ b/view/frontend/layout/blog_default.xml @@ -8,9 +8,6 @@ */ --> - - - diff --git a/view/frontend/layout/default.xml b/view/frontend/layout/default.xml index 0da0567b..7b883a73 100755 --- a/view/frontend/layout/default.xml +++ b/view/frontend/layout/default.xml @@ -9,7 +9,6 @@ --> - diff --git a/view/frontend/web/css/blog-m.css b/view/frontend/web/css/blog-m.css deleted file mode 100755 index 1094f2ac..00000000 --- a/view/frontend/web/css/blog-m.css +++ /dev/null @@ -1,239 +0,0 @@ -/** - * Copyright © 2015-2017 Ihor Vansach (ihor@magefan.com). All rights reserved. - * See LICENSE.txt for license details (http://opensource.org/licenses/osl-3.0.php). - * - * Glory to Ukraine! Glory to the heroes! - */ - -.clearfix:after { - content:""; - display:table; - clear:both; -} - -.post-holder { - padding-bottom: 20px; - margin-bottom: 20px; - background: #F5F5F5; - padding: 20px; -} - -.post-holder:hover { - box-shadow: 3px 3px 4px 0 rgba(0, 0, 0, 0.1); - position: relative; - z-index: 2; -} - -.post-holder .post-header {position:relative;} - -.post-holder .post-header .post-info {padding: 0 0 10px 0;} -.post-holder .post-header .post-info .item, -.post-holder .post-header .post-info .dash {display: inline-block;} -.post-holder .post-header .post-info .label {font-weight: 700;} -.post-holder .post-header .post-info .value {font-style: italic;} - - -.post-list { - margin-top: 20px; - margin-bottom: 20px; - list-style: none; -} - -.post-list .post-content .post-read-more {padding-top:10px; float:right;} - -.blog-category-view .category-content {padding-left: 40px;} - -.subcategory-links-wrapper ul, -.post-links-wrapper ul {list-style: none} - -.post-content .post-description img {margin:0 15px 0 15px;} -.post-content .post-description ul, -.post-content .post-description ol {list-style-position: inside;} - -.post-content .post-description .post-ftimg-hld {float: left; margin: 0 15px 0 15px; width: 33%} -.post-content .post-description .post-ftimg-hld img {width:100%; padding:0px; margin:0px;} -@media (max-width: 496px) { - .post-content .post-description .post-ftimg-hld {width: 100%; margin:0px;} -} - -.post-list .post-header .post-title {max-width:80%;} -.post-list .post-header .post-title a { - text-decoration: none; - font-size: 22px; - color: #636363; -} - - - -.post-list .post-header .post-title { - margin: 0px; - padding: 10px 0; - float:left; -} - -.post-list .post-holder .post-header .addthis_toolbox {float: right; padding-top: 20px;} -.post-list .hidden {display:none;} - -.post-view .post-holder .post-header .addthis_toolbox {float: right;} -.post-view .post-bottom {margin-top:30px;} - -.post-view .post-nextprev-hld {margin-bottom: 30px;} -.post-view .post-nextprev-hld .nextprev-link {font-weight: 700;} -.post-view .post-nextprev-hld .prev-link {float:left} -.post-view .post-nextprev-hld .next-link {float:right} - -.post-view .post-gallery {margin:15px 0 15px 0} -.post-view .post-gallery .gallery-image-hld {margin: 0 14px 14px 0; border:1px solid #ccc; display: block; float:left} -.post-view .post-gallery .gallery-image{padding: 0px; margin:0px; display:block} - -.post-view .block {margin-bottom: 30px;} - -.widget.block-recent-posts .block-content .item { - padding: 8px 0 0px 0px; -} - -.widget.block-categories ul { - list-style: initial; - padding-left:0px; -} - -.widget.block-categories ul ul { - margin-left:20px; -} - -.widget.block-categories ul, -.widget.block-categories li { - margin: 5px 0 5px 9px; - padding: 0px; -} - -.widget.block-rss .rss-icon {float: left; width: 23px; padding-right: 10px;} - - -.widget.blog-search { - width:100%; - margin-bottom: 40px; - position: relative; - float: right; - /*padding-left: 15px; - z-index: 4;*/ -} - -.widget.blog-search .block-content { - margin-bottom: 0; -} - -.widget.blog-search label { - border: 0; - clip: rect(0, 0, 0, 0); - height: 1px; - margin: -1px; - overflow: hidden; - padding: 0; - position: absolute; - width: 1px; - text-decoration: none; - display: inline-block; - float: right; -} - -.widget.blog-search .control { - border-top: 0; - margin: 0; - padding: 0; - clear: both; -} - -.widget.blog-search input { - position: static; - padding-right: 35px; - margin: 0; - left: -300%; -} - -.widget.blog-search .action.search { - position: absolute; - right: 10px; - top: 0; - z-index: 1; - display: inline-block; - background-image: none; - background: none; - -moz-box-sizing: content-box; - border: 0; - box-shadow: none; - line-height: inherit; - margin: 0; - padding: 0; - text-decoration: none; - text-shadow: none; - font-weight: 400; -} - -.widget.blog-search .action.search:before { - -webkit-font-smoothing: antialiased; - font-size: 16px; - line-height: 32px; - color: #8f8f8f; - content: '\e615'; - font-family: 'luma-icons'; - margin: 0; - vertical-align: top; - display: inline-block; - font-weight: normal; - overflow: hidden; - speak: none; - text-align: center; -} - -.widget.blog-search .action.search > span { - border: 0; - clip: rect(0, 0, 0, 0); - height: 1px; - margin: -1px; - overflow: hidden; - padding: 0; - position: absolute; - width: 1px; -} - -/* Tag claud widget */ -.widget.block-tagclaud .smallest{font-size: 0.75em} -.widget.block-tagclaud .small{font-size:1em} -.widget.block-tagclaud .medium{font-size:1.25em} -.widget.block-tagclaud .large{font-size:1.5em} -.widget.block-tagclaud .largest{font-size:2em} - -.blog-widget-recent .post-list { - padding: 0px; - margin: 0px; -} - -.blog-widget-recent .post-holder { - width: 29%; - float: left; - margin: 5px; -} - -.blog-widget-recent .post-description .post-text-hld { - max-height: 150px; - min-height: 150px; - overflow-y: auto; -} - -.blog-widget-recent-masonry .post-description .post-text-hld { - max-height: none; - min-height: 0; -} -.blog-widget-recent-masonry .post-description .post-ftimg-hld { - width: 100%; - margin: 0px; -} - -.mfblog-autoloader {text-align: center;} -.mfblog-autoloader .mfblog-show-onload {display: none;} - - -@media (max-width: 420px) { - #mfblog_gcomments {max-width:345px; overflow-y: scroll;} -} diff --git a/view/frontend/web/css/comments.css b/view/frontend/web/css/comments.css deleted file mode 100755 index 2608673f..00000000 --- a/view/frontend/web/css/comments.css +++ /dev/null @@ -1,160 +0,0 @@ -/** - * Copyright © 2015-2017 Ihor Vansach (ihor@magefan.com). All rights reserved. - * See LICENSE.txt for license details (http://opensource.org/licenses/osl-3.0.php). - * - * Glory to Ukraine! Glory to the heroes! - */ - -#post-comments * { - box-sizing: border-box; - font-family: Helvetica, Arial, sans-serif; -} - -/*styles for all blocks*/ -.c-count { - margin-bottom: 15px; - font-weight: 700; - padding-bottom: 10px; - font-size: 16px; - border-bottom: 1px solid #d5d6da; - color: #222; -} -.c-img {width: 48px; position: absolute; left: 0; top: 0; z-index: 5;} -.c-img img {width: 100%;} -.c-reply, .c-comment {position: relative; margin-bottom: 18px;} -.c-replyform, .c-post {margin-left: 25px;} -.c-allcomments, -.c-allcomments:visited { - display: block; - width: 100%; - font-weight: 700; - font-size: 14px; - color: #fff; - background: #1979c3; - margin-top: 24px; - line-height: 40px; - text-align: center; - border-radius: 3px; - transition: 200ms cubic-bezier(.08,.52,.52,1) background-color; - text-decoration: none; -} - -.c-allcomments:hover { - background-color: #e2e2e2; - color: #fff; - text-decoration: none; -} - -/*reply form*/ -.c-replyform .left-hld, -.c-replyform .right-hld {float:left; width: 35%; padding: 0px 15px 0 0;} -.c-replyform textarea, -.c-replyform input { - color: #222; - background: #fff!important; - display: block; -} -.c-replyform textarea { - padding: 8px; - height: 70px; - border-bottom: 0px; -} -.c-replyform textarea:focus, -.c-replyform input:focus { - box-shadow:none; -} - -.c-replyform div.mage-error[generated] {display: none!important} -.c-replyform .mage-error{background-color: #fff3f3!important;border-color:#d5d6da} - -.c-replyform button { - display: inline-block; - padding: 2px 8px; - font-weight: 700; - border-radius: 3px!important; - font-size: 14px; - background-color: #1979c3; - border:1px solid #1979c3; - color: #fff; - cursor: pointer; - transition: 200ms cubic-bezier(.08,.52,.52,1) background-color; - box-shadow: none; - margin-top: 5px; -} - -.c-replyform button:hover { - background-color: #365899; - border-color: #365899; -} - -.c-replyform button.cancel { - background-color: #f6f7f9; - border-color: #ced0d4; - color: #4b4f56; -} - -.c-replyform button.cancel:hover {background-color: #e9ebee;} - -.c-replyform .c-btn-hld { - background: #f6f7f9; - border:1px solid #d5d6da; - padding: 8px; - text-align: right; -} - -.c-replyform.no-active .c-btn-hld {display: none} -.c-replyform.no-active textarea { - border-bottom: 1px solid #c2c2c2; - height: 45px; -} - -/*comment*/ -.c-post .p-name { font-weight: 700; color: #365899;} -.c-post .p-actions {padding: 8px 0 10px;} -.c-post .p-actions {font-size: 12px;} -.c-post .p-actions a {color: #4267b2;} -.c-post .p-actions a:hover {text-decoration: underline; } -.c-post .p-actions span { - color: #90949c; -} - -/*post's replies and reply form*/ -.p-replies {border-left: 1px dotted #bdbdbd; padding-left: 10px;} -.p-replies .c-img {width: 36px;} -.p-replies .c-post, .p-replies .c-replyform {margin-left: 20px;} -.p-replies .c-comment {margin-bottom: 10px;} -.p-replies .c-more { - background: #d7eaf9; - padding: 5px; - font-size: 12px; - border-radius: 3px; - margin-bottom: 10px; -} - -.p-replies .c-more a {color: #4267b2; font-weight: 700; font-size: 11px;} -.p-replies .c-more a:hover {text-decoration: underline;} -.p-replies .c-more i{ - width: 0px; - height: 0px; - border-left: 3px solid rgba(0, 0, 0, 0); - border-right: 3px solid rgba(0, 0, 0, 0); - border-top: 3px solid #768196; - vertical-align: middle; - margin-left: 3px; - position: relative; - top: 7px; -} - -@media screen and (max-width: 450px) { - .c-img {width: 38px;} - .c-post {font-size: 13px;} - .c-post .p-actions {font-size: 11px;} - .c-reply, .c-comment {position: relative; margin-bottom: 18px;} - .c-replyform, .c-post {margin-left: 0} - .p-replies {padding-left: 5px;} - .p-replies .c-img {width: 28px;} - .p-replies .c-post, .p-replies .c-replyform {margin-left: 34px;} - .p-replies .c-more a {font-size: 10px; padding: 3px;} - .c-replyform .left-hld, - .c-replyform .right-hld {float:none; width: 100%; padding: 0 0 5px 0} -} diff --git a/view/frontend/web/css/source/_comments.less b/view/frontend/web/css/source/_comments.less new file mode 100755 index 00000000..526e3d7c --- /dev/null +++ b/view/frontend/web/css/source/_comments.less @@ -0,0 +1,162 @@ +/** + * Copyright © 2015-2017 Ihor Vansach (ihor@magefan.com). All rights reserved. + * See LICENSE.txt for license details (http://opensource.org/licenses/osl-3.0.php). + * + * Glory to Ukraine! Glory to the heroes! + */ + +& when (@media-common = true) { + #post-comments * { + box-sizing: border-box; + font-family: Helvetica, Arial, sans-serif; + } + + /*styles for all blocks*/ + .c-count { + margin-bottom: 15px; + font-weight: 700; + padding-bottom: 10px; + font-size: 16px; + border-bottom: 1px solid #d5d6da; + color: #222; + } + .c-img {width: 48px; position: absolute; left: 0; top: 0; z-index: 5;} + .c-img img {width: 100%;} + .c-reply, .c-comment {position: relative; margin-bottom: 18px;} + .c-replyform, .c-post {margin-left: 25px;} + .c-allcomments, + .c-allcomments:visited { + display: block; + width: 100%; + font-weight: 700; + font-size: 14px; + color: #fff; + background: #1979c3; + margin-top: 24px; + line-height: 40px; + text-align: center; + border-radius: 3px; + transition: 200ms cubic-bezier(.08,.52,.52,1) background-color; + text-decoration: none; + } + + .c-allcomments:hover { + background-color: #e2e2e2; + color: #fff; + text-decoration: none; + } + + /*reply form*/ + .c-replyform .left-hld, + .c-replyform .right-hld {float:left; width: 35%; padding: 0px 15px 0 0;} + .c-replyform textarea, + .c-replyform input { + color: #222; + background: #fff!important; + display: block; + } + .c-replyform textarea { + padding: 8px; + height: 70px; + border-bottom: 0px; + } + .c-replyform textarea:focus, + .c-replyform input:focus { + box-shadow:none; + } + + .c-replyform div.mage-error[generated] {display: none!important} + .c-replyform .mage-error{background-color: #fff3f3!important;border-color:#d5d6da} + + .c-replyform button { + display: inline-block; + padding: 2px 8px; + font-weight: 700; + border-radius: 3px!important; + font-size: 14px; + background-color: #1979c3; + border:1px solid #1979c3; + color: #fff; + cursor: pointer; + transition: 200ms cubic-bezier(.08,.52,.52,1) background-color; + box-shadow: none; + margin-top: 5px; + } + + .c-replyform button:hover { + background-color: #365899; + border-color: #365899; + } + + .c-replyform button.cancel { + background-color: #f6f7f9; + border-color: #ced0d4; + color: #4b4f56; + } + + .c-replyform button.cancel:hover {background-color: #e9ebee;} + + .c-replyform .c-btn-hld { + background: #f6f7f9; + border:1px solid #d5d6da; + padding: 8px; + text-align: right; + } + + .c-replyform.no-active .c-btn-hld {display: none} + .c-replyform.no-active textarea { + border-bottom: 1px solid #c2c2c2; + height: 45px; + } + + /*comment*/ + .c-post .p-name { font-weight: 700; color: #365899;} + .c-post .p-actions {padding: 8px 0 10px;} + .c-post .p-actions {font-size: 12px;} + .c-post .p-actions a {color: #4267b2;} + .c-post .p-actions a:hover {text-decoration: underline; } + .c-post .p-actions span { + color: #90949c; + } + + /*post's replies and reply form*/ + .p-replies {border-left: 1px dotted #bdbdbd; padding-left: 10px;} + .p-replies .c-img {width: 36px;} + .p-replies .c-post, .p-replies .c-replyform {margin-left: 20px;} + .p-replies .c-comment {margin-bottom: 10px;} + .p-replies .c-more { + background: #d7eaf9; + padding: 5px; + font-size: 12px; + border-radius: 3px; + margin-bottom: 10px; + } + + .p-replies .c-more a {color: #4267b2; font-weight: 700; font-size: 11px;} + .p-replies .c-more a:hover {text-decoration: underline;} + .p-replies .c-more i{ + width: 0px; + height: 0px; + border-left: 3px solid rgba(0, 0, 0, 0); + border-right: 3px solid rgba(0, 0, 0, 0); + border-top: 3px solid #768196; + vertical-align: middle; + margin-left: 3px; + position: relative; + top: 7px; + } + + @media screen and (max-width: 450px) { + .c-img {width: 38px;} + .c-post {font-size: 13px;} + .c-post .p-actions {font-size: 11px;} + .c-reply, .c-comment {position: relative; margin-bottom: 18px;} + .c-replyform, .c-post {margin-left: 0} + .p-replies {padding-left: 5px;} + .p-replies .c-img {width: 28px;} + .p-replies .c-post, .p-replies .c-replyform {margin-left: 34px;} + .p-replies .c-more a {font-size: 10px; padding: 3px;} + .c-replyform .left-hld, + .c-replyform .right-hld {float:none; width: 100%; padding: 0 0 5px 0} + } +} diff --git a/view/frontend/web/css/source/_module.less b/view/frontend/web/css/source/_module.less new file mode 100755 index 00000000..694b750f --- /dev/null +++ b/view/frontend/web/css/source/_module.less @@ -0,0 +1,243 @@ +/** + * Copyright © 2015-2017 Ihor Vansach (ihor@magefan.com). All rights reserved. + * See LICENSE.txt for license details (http://opensource.org/licenses/osl-3.0.php). + * + * Glory to Ukraine! Glory to the heroes! + */ + +& when (@media-common = true) { + .clearfix:after { + content:""; + display:table; + clear:both; + } + + .post-holder { + padding-bottom: 20px; + margin-bottom: 20px; + background: #F5F5F5; + padding: 20px; + } + + .post-holder:hover { + box-shadow: 3px 3px 4px 0 rgba(0, 0, 0, 0.1); + position: relative; + z-index: 2; + } + + .post-holder .post-header {position:relative;} + + .post-holder .post-header .post-info {padding: 0 0 10px 0;} + .post-holder .post-header .post-info .item, + .post-holder .post-header .post-info .dash {display: inline-block;} + .post-holder .post-header .post-info .label {font-weight: 700;} + .post-holder .post-header .post-info .value {font-style: italic;} + + + .post-list { + margin-top: 20px; + margin-bottom: 20px; + list-style: none; + } + + .post-list .post-content .post-read-more {padding-top:10px; float:right;} + + .blog-category-view .category-content {padding-left: 40px;} + + .subcategory-links-wrapper ul, + .post-links-wrapper ul {list-style: none} + + .post-content .post-description img {margin:0 15px 0 15px;} + .post-content .post-description ul, + .post-content .post-description ol {list-style-position: inside;} + + .post-content .post-description .post-ftimg-hld {float: left; margin: 0 15px 0 15px; width: 33%} + .post-content .post-description .post-ftimg-hld img {width:100%; padding:0px; margin:0px;} + @media (max-width: 496px) { + .post-content .post-description .post-ftimg-hld {width: 100%; margin:0px;} + } + + .post-list .post-header .post-title {max-width:80%;} + .post-list .post-header .post-title a { + text-decoration: none; + font-size: 22px; + color: #636363; + } + + + + .post-list .post-header .post-title { + margin: 0px; + padding: 10px 0; + float:left; + } + + .post-list .post-holder .post-header .addthis_toolbox {float: right; padding-top: 20px;} + .post-list .hidden {display:none;} + + .post-view .post-holder .post-header .addthis_toolbox {float: right;} + .post-view .post-bottom {margin-top:30px;} + + .post-view .post-nextprev-hld {margin-bottom: 30px;} + .post-view .post-nextprev-hld .nextprev-link {font-weight: 700;} + .post-view .post-nextprev-hld .prev-link {float:left} + .post-view .post-nextprev-hld .next-link {float:right} + + .post-view .post-gallery {margin:15px 0 15px 0} + .post-view .post-gallery .gallery-image-hld {margin: 0 14px 14px 0; border:1px solid #ccc; display: block; float:left} + .post-view .post-gallery .gallery-image{padding: 0px; margin:0px; display:block} + + .post-view .block {margin-bottom: 30px;} + + .widget.block-recent-posts .block-content .item { + padding: 8px 0 0px 0px; + } + + .widget.block-categories ul { + list-style: initial; + padding-left:0px; + } + + .widget.block-categories ul ul { + margin-left:20px; + } + + .widget.block-categories ul, + .widget.block-categories li { + margin: 5px 0 5px 9px; + padding: 0px; + } + + .widget.block-rss .rss-icon {float: left; width: 23px; padding-right: 10px;} + + + .widget.blog-search { + width:100%; + margin-bottom: 40px; + position: relative; + float: right; + /*padding-left: 15px; + z-index: 4;*/ + } + + .widget.blog-search .block-content { + margin-bottom: 0; + } + + .widget.blog-search label { + border: 0; + clip: rect(0, 0, 0, 0); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; + text-decoration: none; + display: inline-block; + float: right; + } + + .widget.blog-search .control { + border-top: 0; + margin: 0; + padding: 0; + clear: both; + } + + .widget.blog-search input { + position: static; + padding-right: 35px; + margin: 0; + left: -300%; + } + + .widget.blog-search .action.search { + position: absolute; + right: 10px; + top: 0; + z-index: 1; + display: inline-block; + background-image: none; + background: none; + -moz-box-sizing: content-box; + border: 0; + box-shadow: none; + line-height: inherit; + margin: 0; + padding: 0; + text-decoration: none; + text-shadow: none; + font-weight: 400; + } + + .widget.blog-search .action.search:before { + -webkit-font-smoothing: antialiased; + font-size: 16px; + line-height: 32px; + color: #8f8f8f; + content: '\e615'; + font-family: 'luma-icons'; + margin: 0; + vertical-align: top; + display: inline-block; + font-weight: normal; + overflow: hidden; + speak: none; + text-align: center; + } + + .widget.blog-search .action.search > span { + border: 0; + clip: rect(0, 0, 0, 0); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; + } + + /* Tag claud widget */ + .widget.block-tagclaud .smallest{font-size: 0.75em} + .widget.block-tagclaud .small{font-size:1em} + .widget.block-tagclaud .medium{font-size:1.25em} + .widget.block-tagclaud .large{font-size:1.5em} + .widget.block-tagclaud .largest{font-size:2em} + + .blog-widget-recent .post-list { + padding: 0px; + margin: 0px; + } + + .blog-widget-recent .post-holder { + width: 29%; + float: left; + margin: 5px; + } + + .blog-widget-recent .post-description .post-text-hld { + max-height: 150px; + min-height: 150px; + overflow-y: auto; + } + + .blog-widget-recent-masonry .post-description .post-text-hld { + max-height: none; + min-height: 0; + } + .blog-widget-recent-masonry .post-description .post-ftimg-hld { + width: 100%; + margin: 0px; + } + + .mfblog-autoloader {text-align: center;} + .mfblog-autoloader .mfblog-show-onload {display: none;} + + + @media (max-width: 420px) { + #mfblog_gcomments {max-width:345px; overflow-y: scroll;} + } +} + +@import '_comments.less'; From 1b9026a3cc3fa2d43463f063bdc7c150ee7f5d08 Mon Sep 17 00:00:00 2001 From: Yonn Trimoreau Date: Wed, 10 Jan 2018 15:25:42 +0100 Subject: [PATCH 2/3] Method with same name already defined in class [phplint Error] --- Model/Post.php | 1 - 1 file changed, 1 deletion(-) diff --git a/Model/Post.php b/Model/Post.php index 67688ff7..a6981430 100755 --- a/Model/Post.php +++ b/Model/Post.php @@ -21,7 +21,6 @@ * @method $this setTitle(string $value) * @method string getMetaKeywords() * @method $this setMetaKeywords(string $value) - * @method string getMetaDescription() * @method $this setMetaDescription(string $value) * @method string getIdentifier() * @method $this setIdentifier(string $value) From e54f6163999023ec1877a9898c1a87a857be9d46 Mon Sep 17 00:00:00 2001 From: Yonn Trimoreau Date: Wed, 10 Jan 2018 15:27:47 +0100 Subject: [PATCH 3/3] Revert "Method with same name already defined in class [phplint Error]" This reverts commit 1b9026a3cc3fa2d43463f063bdc7c150ee7f5d08. --- Model/Post.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Model/Post.php b/Model/Post.php index a6981430..67688ff7 100755 --- a/Model/Post.php +++ b/Model/Post.php @@ -21,6 +21,7 @@ * @method $this setTitle(string $value) * @method string getMetaKeywords() * @method $this setMetaKeywords(string $value) + * @method string getMetaDescription() * @method $this setMetaDescription(string $value) * @method string getIdentifier() * @method $this setIdentifier(string $value)