aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Searchable.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-03-22 08:26:39 +0100
committerGravatar GitHub <noreply@github.com> 2023-03-22 08:26:39 +0100
commit1a0616562db5c096dc7ca187f0210b3d57bffebf (patch)
tree4f721c9f06bb601b5ccbf95307f37ba2de0480d7 /app/Models/Searchable.php
parent247215ffaa2966919115f283fb67a0096df8dc1c (diff)
Remove FreshRSS_Searchable for better types (#5212)
* Remove FreshRSS_Searchable for better types The interface was not used, and it was preventing more precise types for the different `searchById()` methods, as they each have different input and output types. * Fix type
Diffstat (limited to 'app/Models/Searchable.php')
-rw-r--r--app/Models/Searchable.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/app/Models/Searchable.php b/app/Models/Searchable.php
deleted file mode 100644
index a15a44ed7..000000000
--- a/app/Models/Searchable.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-
-interface FreshRSS_Searchable {
-
- /**
- * @param int|string $id
- * @return Minz_Model
- */
- public function searchById($id);
-}