PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 28.5
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v28.5
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
← All changes | vendor_prefixed/psr/container/src/ContainerInterface.php +3 -5 18.228.5 View file →
@@ -1,9 +1,7 @@
1 1 <?php
2 2
3 -/**
4 - * @license http://www.opensource.org/licenses/mit-license.php MIT (see the LICENSE file)
5 - */
3 +declare (strict_types=1);
6 4 namespace YoastSEO_Vendor\Psr\Container;
7 5
8 6 /**
9 7 * Describes the interface of a container that exposes methods to read its entries.
@@ -19,9 +17,9 @@
19 17 * @throws ContainerExceptionInterface Error while retrieving the entry.
20 18 *
21 19 * @return mixed Entry.
22 20 */
23 - public function get($id);
21 + public function get(string $id);
24 22 /**
25 23 * Returns true if the container can return an entry for the given identifier.
26 24 * Returns false otherwise.
27 25 *
@@ -31,6 +29,6 @@
31 29 * @param string $id Identifier of the entry to look for.
32 30 *
33 31 * @return bool
34 32 */
35 - public function has($id);
33 + public function has(string $id);
36 34 }