Skip to content
Browse files

Fixed most of the docblocks/unused namespaces

  • Loading branch information...
1 parent 12aa1bb commit 755d79f7850627349a48715d2f9aae872e20c408 @dlsniper dlsniper committed with fabpot Dec 16, 2012
View
2 Adapter/AbstractFindAdapter.php
@@ -185,8 +185,6 @@ private function buildNamesFiltering(Command $command, array $names, $not = fals
* @param string $dir
* @param string[] $paths
* @param Boolean $not
- *
- * @return void
*/
private function buildPathsFiltering(Command $command, $dir, array $paths, $not = false)
{
View
4 Comparator/Comparator.php
@@ -55,6 +55,8 @@ public function getOperator()
* Sets the comparison operator.
*
* @param string $operator A valid operator
+ *
+ * @throws \InvalidArgumentException
*/
public function setOperator($operator)
{
@@ -73,6 +75,8 @@ public function setOperator($operator)
* Tests against the target.
*
* @param mixed $test A test value
+ *
+ * @return Boolean
*/
public function test($test)
{
View
2 Iterator/CustomFilterIterator.php
@@ -28,6 +28,8 @@ class CustomFilterIterator extends FilterIterator
*
* @param \Iterator $iterator The Iterator to filter
* @param array $filters An array of PHP callbacks
+ *
+ * @throws \InvalidArgumentException
*/
public function __construct(\Iterator $iterator, array $filters)
{
View
5 Iterator/FilePathsIterator.php
@@ -103,11 +103,6 @@ public function getSubPathname()
return $this->subPathname;
}
- /**
- * @param string $absolutePath
- *
- * @return null|string
- */
private function buildSubPath()
{
$absolutePath = parent::current();
View
2 Iterator/SortableIterator.php
@@ -32,6 +32,8 @@ class SortableIterator implements \IteratorAggregate
*
* @param \Traversable $iterator The Iterator to filter
* @param integer|callback $sort The sort type (SORT_BY_NAME, SORT_BY_TYPE, or a PHP callback)
+ *
+ * @throws \InvalidArgumentException
*/
public function __construct(\Traversable $iterator, $sort)
{
View
4 Shell/Command.php
@@ -176,6 +176,8 @@ public function ins($label)
* @param string $label
*
* @return Command The labeled command
+ *
+ * @throws \RuntimeException
*/
public function get($label)
{
@@ -216,6 +218,8 @@ public function length()
* Executes current command.
*
* @return array The command result
+ *
+ * @throws \RuntimeException
*/
public function execute()
{
View
2 SplFileInfo.php
@@ -59,6 +59,8 @@ public function getRelativePathname()
* Returns the contents of the file
*
* @return string the contents of the file
+ *
+ * @throws \RuntimeException
*/
public function getContents()
{

0 comments on commit 755d79f

Please sign in to comment.
Something went wrong with that request. Please try again.