Skip to content

Commit e48b6fe

Browse files
committed
Removed '$' from class parameters usages in DeletionHandler
1 parent 7c226ff commit e48b6fe

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Symfony/src/Codebender/CompilerBundle/Handler/DeletionHandler.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class DeletionHandler
2222

2323
function __construct($objectFilesDirectory)
2424
{
25-
$this->$objectCacheDirectory = $objectFilesDirectory;
25+
$this->objectCacheDirectory = $objectFilesDirectory;
2626
}
2727

2828
function deleteAllObjects()
@@ -38,7 +38,7 @@ function deleteAllObjects()
3838
'success_dot_LOCK' => 0,
3939
'failure_dot_LOCK' => 0);
4040

41-
if ($handle = @opendir($this->$objectCacheDirectory)) {
41+
if ($handle = @opendir($this->objectCacheDirectory)) {
4242

4343
while (false !== ($entry = readdir($handle))) {
4444
if ($entry == '.' || $entry == '..' || $entry != '.DS_Store') {
@@ -51,7 +51,7 @@ function deleteAllObjects()
5151
continue;
5252
}
5353

54-
if (@unlink($this->$objectCacheDirectory . '/' . $entry) === false) {
54+
if (@unlink($this->objectCacheDirectory . '/' . $entry) === false) {
5555
$deletionStats['failure_dot_$extension']++;
5656
$notDeletedFiles .= $entry . "\n";
5757
continue;
@@ -81,7 +81,7 @@ function deleteSpecificObjects($option, $cachedObjectToDelete)
8181
$deletedFiles = '';
8282
$notDeletedFiles = '';
8383

84-
if ($handle = @opendir($this->$objectCacheDirectory)) {
84+
if ($handle = @opendir($this->objectCacheDirectory)) {
8585

8686
while (false !== ($entry = readdir($handle))) {
8787

@@ -98,7 +98,7 @@ function deleteSpecificObjects($option, $cachedObjectToDelete)
9898
}
9999

100100

101-
if (@unlink($this->$objectCacheDirectory . '/' . $entry) === false) {
101+
if (@unlink($this->objectCacheDirectory . '/' . $entry) === false) {
102102
$notDeletedFiles .= $entry."\n";
103103
continue;
104104
}

0 commit comments

Comments
 (0)