Skip to content

Commit 5f677ed

Browse files
authored
Private->protected
1 parent 1b611d7 commit 5f677ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Console/ModelsCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ protected function getPropertiesFromMethods($model)
595595
*
596596
* @return bool
597597
*/
598-
private function isRelationNullable(string $relation, Relation $relationObj): bool
598+
protected function isRelationNullable(string $relation, Relation $relationObj): bool
599599
{
600600
$reflectionObj = new \ReflectionObject($relationObj);
601601

@@ -830,7 +830,7 @@ public function getParameters($method)
830830
* @param string $className
831831
* @return string
832832
*/
833-
private function getCollectionClass($className)
833+
protected function getCollectionClass($className)
834834
{
835835
// Return something in the very very unlikely scenario the model doesn't
836836
// have a newCollection() method.
@@ -935,7 +935,7 @@ protected function getCollectionMethods($model)
935935
* @param ReflectionClass $reflection
936936
* @return string
937937
*/
938-
private function getClassKeyword(ReflectionClass $reflection)
938+
protected function getClassKeyword(ReflectionClass $reflection)
939939
{
940940
if ($reflection->isFinal()) {
941941
$keyword = 'final ';

0 commit comments

Comments
 (0)