Skip to content

Commit 195270d

Browse files
committed
Cleanup ThreadCreator
1 parent ebdfdec commit 195270d

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

app/Lio/Forum/Threads/ThreadCreator.php

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,17 @@
1-
<?php namespace Lio\Forum\Threads;
1+
<?php
2+
namespace Lio\Forum\Threads;
23

34
use Illuminate\Support\MessageBag;
45
use Lio\Accounts\User;
56
use Lio\Content\SpamDetector;
67
use Psr\Log\LoggerInterface;
78

8-
/**
9-
* This class can call the following methods on the listener object:
10-
*
11-
* threadCreationError($errors)
12-
* threadCreated($thread)
13-
*/
149
class ThreadCreator
1510
{
1611
/**
1712
* @var \Lio\Forum\Threads\ThreadRepository
1813
*/
19-
protected $threads;
14+
private $threads;
2015

2116
/**
2217
* @var \Lio\Content\SpamDetector

0 commit comments

Comments
 (0)