cs and phpstan fixes

This commit is contained in:
Dennis Eichhorn 2020-10-24 17:52:24 +02:00
parent 4311c5530f
commit 00d4e1cde3
4 changed files with 10 additions and 4 deletions

View File

@ -46,7 +46,7 @@ final class QAAnswerMapper extends DataMapperAbstract
/** /**
* Belongs to. * Belongs to.
* *
* @var array<string, array{mapper:string, self:string}> * @var array<string, array{mapper:string, external:string}>
* @since 1.0.0 * @since 1.0.0
*/ */
protected static array $belongsTo = [ protected static array $belongsTo = [

View File

@ -41,7 +41,7 @@ final class QACategoryMapper extends DataMapperAbstract
/** /**
* Belongs to. * Belongs to.
* *
* @var array<string, array{mapper:string, self:string}> * @var array<string, array{mapper:string, external:string}>
* @since 1.0.0 * @since 1.0.0
*/ */
protected static array $belongsTo = [ protected static array $belongsTo = [

View File

@ -68,7 +68,13 @@ class QAQuestion implements \JsonSerializable
*/ */
private ?QACategory $category = null; private ?QACategory $category = null;
private $language = ''; /**
* Language
*
* @var string
* @since 1.0.0
*/
private string $language = '';
/** /**
* Created by. * Created by.

View File

@ -75,7 +75,7 @@ final class QAQuestionMapper extends DataMapperAbstract
/** /**
* Belongs to. * Belongs to.
* *
* @var array<string, array{mapper:string, self:string}> * @var array<string, array{mapper:string, external:string}>
* @since 1.0.0 * @since 1.0.0
*/ */
protected static array $belongsTo = [ protected static array $belongsTo = [