Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' of git://github.com/zendframework/zf2 into ZF2-377
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-mabe committed Jul 17, 2012
5 parents 86ede54 + bb4f77a + 38e7a18 + 1ddebf3 + 0ffc57a commit d35c5af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*/
class File extends Uri
{
static protected $validSchemes = array('file');
protected static $validSchemes = array('file');

/**
* Check if the URI is a valid File URI
Expand Down
8 changes: 4 additions & 4 deletions test/UriTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ public function testValidUriIsValid($uriString)
$this->assertTrue($uri->isValid());
}

/**
/**
* Test that valid relative URIs pass validation
*
* @param string $uriString
Expand All @@ -394,7 +394,7 @@ public function testInvalidUriIsInvalid(Uri $uri)
$this->assertFalse($uri->isValid());
}

/**
/**
* Test that invalid relative URIs fail validation
*
* @param \Zend\Uri\Uri $uri
Expand Down Expand Up @@ -848,7 +848,7 @@ public function validUriStringProvider()
);
}

/**
/**
* Data provider for valid relative URIs, not necessarily complete
*
* @return array
Expand Down Expand Up @@ -965,7 +965,7 @@ public function invalidUriObjectProvider()
);
}

/**
/**
* Data provider for invalid relative URI objects
*
* @return array
Expand Down

0 comments on commit d35c5af

Please sign in to comment.