Code Duplication    Length = 8-9 lines in 2 locations

lib/Command/DocumentPlatform.php 1 location

@@ 66-73 (lines=8) @@
63
	/**
64
	 *
65
	 */
66
	protected function configure() {
67
		parent::configure();
68
		$this->setName('fulltextsearch:document:platform')
69
			 ->setDescription('Get document from index')
70
			 ->addArgument('providerId', InputArgument::REQUIRED, 'providerId')
71
			 ->addArgument('documentId', InputArgument::REQUIRED, 'documentId')
72
			 ->addOption('content', 'c', InputOption::VALUE_NONE, 'return some content');
73
	}
74
75
76
	/**

lib/Command/DocumentProvider.php 1 location

@@ 69-77 (lines=9) @@
66
	/**
67
	 *
68
	 */
69
	protected function configure() {
70
		parent::configure();
71
		$this->setName('fulltextsearch:document:provider')
72
			 ->setDescription('Get document from index')
73
			 ->addArgument('userId', InputArgument::REQUIRED, 'userId')
74
			 ->addArgument('providerId', InputArgument::REQUIRED, 'providerId')
75
			 ->addArgument('documentId', InputArgument::REQUIRED, 'documentId')
76
			 ->addOption('content', 'c', InputOption::VALUE_NONE, 'return some content');
77
	}
78
79
80
	/**