Code Duplication    Length = 10-10 lines in 2 locations

risoluto/cli/RisolutoCli/AuthManager.php 2 locations

@@ 361-370 (lines=10) @@
358
     *
359
     * @return    void    なし
360
     */
361
    private function showUser()
362
    {
363
        // 表示に必要な情報を順番に取得していく
364
        do {
365
            $option[ 'userid' ] = $this->readFromStdin( "Enter user id: " );
366
        } while (empty( $option[ 'userid' ] ));
367
368
        // 表示処理を呼び出す
369
        print_r( \Risoluto\Auth::callProviderMethod( 'showUser', $option ) );
370
    }
371
372
    /**
373
     * showGroup()
@@ 383-392 (lines=10) @@
380
     *
381
     * @return    void    なし
382
     */
383
    private function showGroup()
384
    {
385
        // 表示に必要な情報を順番に取得していく
386
        do {
387
            $option[ 'groupid' ] = $this->readFromStdin( "Enter group id: " );
388
        } while (empty( $option[ 'groupid' ] ));
389
390
        // 表示処理を呼び出す
391
        print_r( \Risoluto\Auth::callProviderMethod( 'showGroup', $option ) );
392
    }
393
394
395
    /**