Skip to content

Commit

Permalink
#6 added missing namespace to function_exists statements (which fixes #6
Browse files Browse the repository at this point in the history
)
  • Loading branch information
khalyomede committed Oct 1, 2020
1 parent ca4cdab commit 78b7e65
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Added missing namespace `Folded` to `function_exists` statements.

## [0.1.1] 2020-09-18

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion src/addRequestedUrlToHistory.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Folded;

if (!function_exists("addRequestedUrlToHistory")) {
if (!function_exists("Folded\addRequestedUrlToHistory")) {
/**
* Add the current browsed URL to the history.
*
Expand Down
2 changes: 1 addition & 1 deletion src/getAllHistory.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Folded;

if (!function_exists("getAllHistory")) {
if (!function_exists("Folded\getAllHistory")) {
/**
* Get all the URLs stored in the history.
*
Expand Down
2 changes: 1 addition & 1 deletion src/getHistory.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Folded;

if (!function_exists("getHistory")) {
if (!function_exists("Folded\getHistory")) {
/**
* Get the URL in the history at a given index.
* Let it empty to get the last URL in the history.
Expand Down
2 changes: 1 addition & 1 deletion src/hasHistory.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Folded;

if (!function_exists("hasHistory")) {
if (!function_exists("Folded\hasHistory")) {
/**
* Returns true if the index is present in the history.
*
Expand Down

0 comments on commit 78b7e65

Please sign in to comment.