Distinct do not take arguments as it adds DISTINCT in your sql query, however, you MAY need to define the column name that you'd want to select distinct with. Thus, if you have
Flight->select('project_id')->distinct()->get()
is equialent to SELECT DISTINCT 'project_id' FROM flights
and you may now add other modifiers like count() or even raw eloquent queries.