mirror of
https://github.com/Karaka-Management/oms-News.git
synced 2026-02-17 00:48:42 +00:00
inspection fixes
This commit is contained in:
parent
ed44fb4992
commit
41e613c84c
|
|
@ -45,6 +45,10 @@ class Comments
|
||||||
->addConstraint('news_comment_list', 'comment_list', 'comment_list_id');
|
->addConstraint('news_comment_list', 'comment_list', 'comment_list_id');
|
||||||
|
|
||||||
$mapper = \file_get_contents(__DIR__ . '/../../Models/NewsArticleMapper.php');
|
$mapper = \file_get_contents(__DIR__ . '/../../Models/NewsArticleMapper.php');
|
||||||
|
if ($mapper === false) {
|
||||||
|
throw new \Exception('Couldn\'t parse mapper');
|
||||||
|
}
|
||||||
|
|
||||||
$mapper = \str_replace([
|
$mapper = \str_replace([
|
||||||
'// @Module Comments ',
|
'// @Module Comments ',
|
||||||
'/* @Module Comments ',
|
'/* @Module Comments ',
|
||||||
|
|
|
||||||
|
|
@ -202,7 +202,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable
|
||||||
/**
|
/**
|
||||||
* Set comment list
|
* Set comment list
|
||||||
*
|
*
|
||||||
* @param CommentList $comments
|
* @param int|CommentList $comments Comment list
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user