Vortex: Changed GCMDispatcher for FCM

Review Request #517 — Created April 25, 2017 and submitted

p.valk
Lunr
vortex-3.6
483
0c98fca...
lunr

Vortex: Changed GCMDispatcher for FCM



  • 0
  • 0
  • 4
  • 0
  • 4
Description From Last Updated
pprkut
  1. 
      
  2. src/Lunr/Vortex/GCM/GCMDispatcher.php (Diff revision 1)
     
     
     
     
     
     

    wouldn't it make more sense to make the 'GCM' part of the message dynamic rather than the entire message?

    1. well i think that would look more ugly. i think this way the code looks cleaner.

    2. That may be, but when we want to change the message, we have to hunt down all subclasses.

    3. well thats also true.

  3. 
      
p.valk
p.valk
pprkut
  1. 
      
  2. src/Lunr/Vortex/GCM/GCMDispatcher.php (Diff revision 2)
     
     
     
     
     
     

    Can we have some better ... text here?
    'GCM' is not a message, nor a warning

  3. 
      
p.valk
pprkut
  1. 
      
  2. src/Lunr/Vortex/GCM/GCMDispatcher.php (Diff revisions 2 - 3)
     
     

    Donaudampfschifffahrtskapitänskajütenwachhundshüttendach

    1. putaindemerdedesuffixealacon

    2. WHAT?!

    3. Look at the constant name and guess

  3. 
      
p.valk
pprkut
  1. 
      
  2. src/Lunr/Vortex/GCM/GCMDispatcher.php (Diff revision 4)
     
     

    why not make this protected as well?

  3. 
      
p.valk
pprkut
  1. Ship It!
  2. 
      
p.valk
Review request changed

Status: Closed (submitted)

Change Summary:

Merged into master

Loading...