mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Added extra type-hints to DataExtension DocBlocks
This commit is contained in:
parent
2175de9560
commit
dfe8d23ffc
@ -126,7 +126,7 @@ abstract class DataExtension extends Extension
|
||||
*
|
||||
* @param Member $member
|
||||
* @param array $context
|
||||
* @return bool
|
||||
* @return bool|null
|
||||
*/
|
||||
public function can($member)
|
||||
{
|
||||
@ -141,7 +141,7 @@ abstract class DataExtension extends Extension
|
||||
*
|
||||
* @param Member $member
|
||||
* @param array $context
|
||||
* @return bool
|
||||
* @return bool|null
|
||||
*/
|
||||
public function canEdit($member)
|
||||
{
|
||||
@ -156,7 +156,7 @@ abstract class DataExtension extends Extension
|
||||
*
|
||||
* @param Member $member
|
||||
* @param array $context
|
||||
* @return bool
|
||||
* @return bool|null
|
||||
*/
|
||||
public function canDelete($member)
|
||||
{
|
||||
@ -171,7 +171,7 @@ abstract class DataExtension extends Extension
|
||||
*
|
||||
* @param Member $member
|
||||
* @param array $context
|
||||
* @return bool
|
||||
* @return bool|null
|
||||
*/
|
||||
public function canCreate($member)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user