<?php

namespace OCP\Contacts\ContactsMenu;

use OCP\IUser;

interface IContactsStore {


	/**
	 * @param IUser $user
	 * @param $filter
	 * @return IEntry[]
	 */
	public function getContacts(IUser $user, $filter);

	/**
	 * @brief finds a contact by specifying the property to search on ($shareType) and the value ($shareWith)
	 * @param IUser $user
	 * @param integer $shareType
	 * @param string $shareWith
	 * @return IEntry|null
	 */
	public function findOne(IUser $user, $shareType, $shareWith);

}
<?php

namespace OCP\Contacts\ContactsMenu;

use OCP\IUser;

/**
 * @since 13.0.0
 */
interface IContactsStore {


	/**
	 * @param IUser $user
	 * @param $filter
	 * @return IEntry[]
	 * @since 13.0.0
	 */
	public function getContacts(IUser $user, $filter);

	/**
	 * @brief finds a contact by specifying the property to search on ($shareType) and the value ($shareWith)
	 * @param IUser $user
	 * @param integer $shareType
	 * @param string $shareWith
	 * @return IEntry|null
	 * @since 13.0.0
	 */
	public function findOne(IUser $user, $shareType, $shareWith);

}

Add @since annotation and add missing new line
Add @since annotation and add missing new line

Signed-off-by: Tobia De Koninck <30ab0c47cfc828a21d603b636d2e1c114f52a7e7@ledfan.be>
