Completed
Push — master ( 2b4610...a5af43 )
by Robbie
02:08
created
src/Model/BlogPost.php 2 patches
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -375,7 +375,7 @@  discard block
 block discarded – undo
375 375
     /**
376 376
      * @param null|int|Member $member
377 377
      *
378
-     * @return null|Member
378
+     * @return \SilverStripe\ORM\DataObject|null
379 379
      */
380 380
     protected function getMember($member = null)
381 381
     {
@@ -395,7 +395,7 @@  discard block
 block discarded – undo
395 395
      *
396 396
      * @param null|int|Member $member
397 397
      *
398
-     * @return bool
398
+     * @return boolean|string
399 399
      */
400 400
     public function canCreateCategories($member = null)
401 401
     {
@@ -419,7 +419,7 @@  discard block
 block discarded – undo
419 419
      *
420 420
      * @param null|int|Member $member
421 421
      *
422
-     * @return bool
422
+     * @return boolean|string
423 423
      */
424 424
     public function canCreateTags($member = null)
425 425
     {
@@ -514,6 +514,8 @@  discard block
 block discarded – undo
514 514
 
515 515
     /**
516 516
      * {@inheritdoc}
517
+     * @param Member $member
518
+     * @return boolean
517 519
      */
518 520
     public function canPublish($member = null)
519 521
     {
@@ -550,6 +552,7 @@  discard block
 block discarded – undo
550 552
 
551 553
     /**
552 554
      * {@inheritdoc}
555
+     * @param \SilverStripe\ORM\DataObject $member
553 556
      */
554 557
     public function canEdit($member = null)
555 558
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use SilverStripe\Core\Config\Config;
10 10
 use SilverStripe\Forms\DatetimeField;
11 11
 use SilverStripe\Forms\FieldList;
12
-use SilverStripe\Forms\HTMLEditor\HTMLEditorField;
13 12
 use SilverStripe\Forms\ListboxField;
14 13
 use SilverStripe\Forms\TextField;
15 14
 use SilverStripe\Forms\ToggleCompositeField;
Please login to merge, or discard this patch.
src/Forms/GridField/GridFieldAddByDBField.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      *
41 41
      * @param GridField $gridField
42 42
      *
43
-     * @return array
43
+     * @return string[]
44 44
      */
45 45
     public function getActions($gridField)
46 46
     {
Please login to merge, or discard this patch.
src/Model/Blog.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -199,6 +199,8 @@  discard block
 block discarded – undo
199 199
     }
200 200
     /**
201 201
      * {@inheritdoc}
202
+     * @param Member $member
203
+     * @return boolean
202 204
      */
203 205
     public function canEdit($member = null)
204 206
     {
@@ -214,7 +216,7 @@  discard block
 block discarded – undo
214 216
     /**
215 217
      * @param null|int|Member $member
216 218
      *
217
-     * @return null|Member
219
+     * @return DataObject|null
218 220
      */
219 221
     protected function getMember($member = null)
220 222
     {
@@ -333,6 +335,8 @@  discard block
 block discarded – undo
333 335
 
334 336
     /**
335 337
      * {@inheritdoc}
338
+     * @param Member $member
339
+     * @return boolean
336 340
      */
337 341
     public function canAddChildren($member = null)
338 342
     {
Please login to merge, or discard this patch.
src/Widgets/BlogTagsWidget.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use SilverStripe\Blog\Model\Blog;
6 6
 use SilverStripe\Core\Convert;
7 7
 use SilverStripe\Forms\DropdownField;
8
-use SilverStripe\Forms\FieldList;
9 8
 use SilverStripe\Forms\NumericField;
10 9
 use SilverStripe\ORM\DataList;
11 10
 use SilverStripe\Widgets\Model\Widget;
Please login to merge, or discard this patch.
src/Model/BlogController.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     /**
103 103
      * Get the Member associated with the current URL segment.
104 104
      *
105
-     * @return null|Member
105
+     * @return \SilverStripe\ORM\DataObject|null
106 106
      */
107 107
     public function getCurrentProfile()
108 108
     {
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
     /**
258 258
      * Tag Getter for use in templates.
259 259
      *
260
-     * @return null|BlogTag
260
+     * @return \SilverStripe\ORM\DataObject|null
261 261
      */
262 262
     public function getCurrentTag()
263 263
     {
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
     /**
308 308
      * Category Getter for use in templates.
309 309
      *
310
-     * @return null|BlogCategory
310
+     * @return \SilverStripe\ORM\DataObject|null
311 311
      */
312 312
     public function getCurrentCategory()
313 313
     {
@@ -520,7 +520,7 @@  discard block
 block discarded – undo
520 520
     /**
521 521
      * Returns the current archive date.
522 522
      *
523
-     * @return null|DBDatetime
523
+     * @return BlogController|null
524 524
      */
525 525
     public function getArchiveDate()
526 526
     {
Please login to merge, or discard this patch.