Code Duplication    Length = 8-9 lines in 2 locations

lib/Command/DocumentPlatform.php 1 location

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

lib/Command/DocumentProvider.php 1 location

@@ 79-87 (lines=9) @@
76
	/**
77
	 *
78
	 */
79
	protected function configure() {
80
		parent::configure();
81
		$this->setName('fulltextsearch:document:provider')
82
			 ->setDescription('Get document from index')
83
			 ->addArgument('userId', InputArgument::REQUIRED, 'userId')
84
			 ->addArgument('providerId', InputArgument::REQUIRED, 'providerId')
85
			 ->addArgument('documentId', InputArgument::REQUIRED, 'documentId')
86
			 ->addOption('content', 'c', InputOption::VALUE_NONE, 'return some content');
87
	}
88
89
90
	/**