Passed
Push — master ( 0fe7ef...b6c3d8 )
by F
02:48
created
src/Controllers/Address/TypeController.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      */
31 31
     private $typeRepository;
32 32
 
33
-    public function __construct(TypeRepository $typeRepo)
33
+    public function __construct (TypeRepository $typeRepo)
34 34
     {
35 35
         $this->typeRepository = $typeRepo;
36 36
     }
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      *
43 43
      * @return \Illuminate\View\View
44 44
      */
45
-    public function index(Request $request) : View
45
+    public function index (Request $request) : View
46 46
     {
47 47
         $types = $this->typeRepository->all();
48 48
 
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      *
56 56
      * @return \Illuminate\View\View
57 57
      */
58
-    public function create() : View
58
+    public function create () : View
59 59
     {
60 60
         return view('localisation::address.type.create');
61 61
     }
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      *
68 68
      * @return \Illuminate\Http\RedirectResponse
69 69
      */
70
-    public function store(CreateTypeRequest $request) : RedirectResponse
70
+    public function store (CreateTypeRequest $request) : RedirectResponse
71 71
     {
72 72
         $input = $request->all();
73 73
 
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      *
86 86
      * @return \Illuminate\View\View | \Illuminate\Http\RedirectResponse
87 87
      */
88
-    public function show($id)
88
+    public function show ($id)
89 89
     {
90 90
         $type = $this->typeRepository->find($id);
91 91
 
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      *
106 106
      * @return \Illuminate\View\View | \Illuminate\Http\RedirectResponse
107 107
      */
108
-    public function edit($id)
108
+    public function edit ($id)
109 109
     {
110 110
         $type = $this->typeRepository->find($id);
111 111
 
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
      *
127 127
      * @return \Illuminate\Http\RedirectResponse
128 128
      */
129
-    public function update(UpdateTypeRequest $request, $id) : RedirectResponse
129
+    public function update (UpdateTypeRequest $request, $id) : RedirectResponse
130 130
     {
131 131
         $type = $this->typeRepository->find($id);
132 132
 
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
      *
153 153
      * @return \Illuminate\Http\RedirectResponse
154 154
      */
155
-    public function destroy($id) : RedirectResponse
155
+    public function destroy ($id) : RedirectResponse
156 156
     {
157 157
         $type = $this->typeRepository->find($id);
158 158
 
Please login to merge, or discard this patch.