Code Duplication    Length = 10-10 lines in 2 locations

src/Time.php 1 location

@@ 259-268 (lines=10) @@
256
     * @param  string  $feature
257
     * @return mixed
258
     */
259
    public function implementedServicesForFeature($feature = null)
260
    {
261
        $services = [];
262
263
        if (isset($this->currentImplementation[$feature]) === true) {
264
            $services = $this->currentImplementation[$feature];
265
        }
266
267
        return $services;
268
    }
269
270
    /**
271
     * @return boolean

src/Timer.php 1 location

@@ 258-267 (lines=10) @@
255
     * @param  string  $feature
256
     * @return mixed
257
     */
258
    public function implementedServicesForFeature($feature = null)
259
    {
260
        $services = [];
261
262
        if (isset($this->currentImplementation[$feature]) === true) {
263
            $services = $this->currentImplementation[$feature];
264
        }
265
266
        return $services;
267
    }
268
269
    /**
270
     * @return boolean