📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-03 21:41:58
📂
/ (Root)
/
home
/
orkouolp
/
web
/
testing.orkobd
/
laravel
/
vendor
/
hamcrest
/
hamcrest-php
/
hamcrest
/
Hamcrest
📍 /home/orkouolp/web/testing.orkobd/laravel/vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest
🔄 Refresh
✏️
Editing: TypeSafeDiagnosingMatcher.php
Writable
<?php namespace Hamcrest; /** * Convenient base class for Matchers that require a value of a specific type. * This simply checks the type and then casts. */ abstract class TypeSafeDiagnosingMatcher extends TypeSafeMatcher { final public function matchesSafely($item) { return $this->matchesSafelyWithDiagnosticDescription($item, new NullDescription()); } final public function describeMismatchSafely($item, Description $mismatchDescription) { $this->matchesSafelyWithDiagnosticDescription($item, $mismatchDescription); } // -- Protected Methods /** * Subclasses should implement these. The item will already have been checked for * the specific type. */ abstract protected function matchesSafelyWithDiagnosticDescription($item, Description $mismatchDescription); }
💾 Save Changes
❌ Cancel