8000 LockableTrait: change visibility to private · symfony/symfony@eaa3bb0 · GitHub
[go: up one dir, main page]

Skip to content

Commit eaa3bb0

Browse files
committed
LockableTrait: change visibility to private
1 parent 6e03a42 commit eaa3bb0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Component/Console/Command/LockableTrait.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
2222
*/
2323
trait LockableTrait
2424
{
25-
protected $lockHandler;
25+
private $lockHandler;
2626

2727
/**
2828
* Locks a command.
2929
*
3030
* @return bool
3131
*/
32-
protected function lock($name = null, $blocking = false)
32+
private function lock($name = null, $blocking = false)
3333
{
3434
if (!class_exists(LockHandler::class)) {
3535
throw new RuntimeException('To enable the locking feature you must install the symfony/filesystem component.');
@@ -53,7 +53,7 @@ protected function lock($name = null, $blocking = false)
5353
/**
5454
* Releases the command lock if there is one.
5555
*/
56-
protected function release()
56+
private function release()
5757
{
5858
if ($this->lockHandler) {
5959
$this->lockHandler->release();

0 commit comments

Comments
 (0)
0