Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Commit 4ab2b29

Browse files
authored
Fix detecting the incorrect URL in the schema factory (#20)
* Fix detecting the incorrect URL in the schema factory * Prepare bug-fix version
1 parent 0501b26 commit 4ab2b29

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file
33
using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
44
This project adheres to [Semantic Versioning](http://semver.org/).
55

6+
## [0.1.4] 2016-07-02
7+
8+
### Fixed
9+
- Fix detecting the incorrect URL in the `SchemaFactory`.
10+
611
## [0.1.3] 2016-05-17
712

813
### Added

src/SchemaFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function create($uri)
4141
{
4242
return new Schema(
4343
$this->resolver->resolve(
44-
strpos('//', $uri) === false
44+
strpos($uri, '//') === false
4545
? "file://{$uri}"
4646
: $uri
4747
)

0 commit comments

Comments
 (0)