From 383d4ba4c38ae6bec47d51a8112442ec4950e02d Mon Sep 17 00:00:00 2001 From: Mike Date: Tue, 30 Jun 2015 01:02:12 -0500 Subject: [PATCH] More logical class inheritance --- src/Hash.php | 2 +- src/Str.php | 2 +- src/Support.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Hash.php b/src/Hash.php index 67c2f9a5..b6eafde7 100644 --- a/src/Hash.php +++ b/src/Hash.php @@ -30,7 +30,7 @@ * @license http://opensource.org/licenses/MIT The MIT License (MIT) * @link https://github.com/mmeyer2k/dcrypt */ -class Hash extends Str +class Hash extends Support { const algo = 'sha256'; diff --git a/src/Str.php b/src/Str.php index 35e21c43..6bbe951c 100644 --- a/src/Str.php +++ b/src/Str.php @@ -28,7 +28,7 @@ * @link https://github.com/symfony/Security/blob/master/Core/Util/StringUtils.php * @link https://php.net/manual/en/mbstring.overload.php */ -class Str extends Support +class Str { /** diff --git a/src/Support.php b/src/Support.php index 17fbf9c4..ab35749b 100644 --- a/src/Support.php +++ b/src/Support.php @@ -2,7 +2,7 @@ namespace Dcrypt; -class Support +class Support extends Str { /**