Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
3d8ea96e
Commit
3d8ea96e
authored
May 22, 2015
by
Lukas Reschke
Browse files
Fix PHPDoc
Use correct parameters
parent
f9784745
Changes
5
Hide whitespace changes
Inline
Side-by-side
lib/private/files/storage/common.php
View file @
3d8ea96e
...
...
@@ -274,6 +274,8 @@ abstract class Common implements Storage {
/**
* @param string $query
* @param string $dir
* @return array
*/
protected
function
searchInDir
(
$query
,
$dir
=
''
)
{
$files
=
array
();
...
...
lib/private/files/storage/local.php
View file @
3d8ea96e
...
...
@@ -282,6 +282,8 @@ if (\OC_Util::runningOnWindows()) {
/**
* @param string $query
* @param string $dir
* @return array
*/
protected
function
searchInDir
(
$query
,
$dir
=
''
)
{
$files
=
array
();
...
...
lib/private/files/storage/localtempfiletrait.php
View file @
3d8ea96e
...
...
@@ -34,13 +34,12 @@ namespace OC\Files\Storage;
*/
trait
LocalTempFileTrait
{
/**
* @var string[]
*/
protected
$cachedFiles
=
array
();
/** @var string[] */
protected
$cachedFiles
=
[];
/**
* @param string $path
* @return string
*/
protected
function
getCachedFile
(
$path
)
{
if
(
!
isset
(
$this
->
cachedFiles
[
$path
]))
{
...
...
@@ -49,6 +48,9 @@ trait LocalTempFileTrait {
return
$this
->
cachedFiles
[
$path
];
}
/**
* @param string $path
*/
protected
function
removeCachedFile
(
$path
)
{
unset
(
$this
->
cachedFiles
[
$path
]);
}
...
...
lib/private/files/storage/mappedlocal.php
View file @
3d8ea96e
...
...
@@ -342,6 +342,8 @@ class MappedLocal extends \OC\Files\Storage\Common {
/**
* @param string $query
* @param string $dir
* @return array
*/
protected
function
searchInDir
(
$query
,
$dir
=
''
)
{
$files
=
array
();
...
...
lib/private/files/storage/wrapper/encryption.php
View file @
3d8ea96e
...
...
@@ -609,6 +609,10 @@ class Encryption extends Wrapper {
return
$encryptionModule
;
}
/**
* @param string $path
* @param int $unencryptedSize
*/
public
function
updateUnencryptedSize
(
$path
,
$unencryptedSize
)
{
$this
->
unencryptedSize
[
$path
]
=
$unencryptedSize
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment